/* ---------------------------------------
Normalize & reset base style redefined & optimized by Me
Contains:
+ reset fo all browsers (IE7+)
+ responsive grid (IE7+)

version: 1.1
last modified: 21.03.2016 by V.L.
author: Vladimir Litovkin
email: vladimir.litovkin@e-solutions.cz
website: http://e-solutions.cz
------------------------------------------*/
html {    -ms-text-size-adjust: 100%;    -webkit-text-size-adjust: 100%; }
/*mobile browsers fix*/
body {    margin: 0;    font: 16px/1 sans-serif;    -moz-osx-font-smoothing: grayscale;    -webkit-font-smoothing: antialiased;}
/*OS X font fixes*/
h1,h2,h3,h4,blockquote,figure, p {    margin: 0;    padding: 0;}
ul, ol, p {margin-bottom: 15px;}
main, ul li {    display: block;}
h1,h2,h3,h4 {    font-size: inherit;}
/*basic reset, attention to ol, without ul it'll break order lists*/
strong {    font-weight: bold;}
em { font-style: italic; }
/*Older browser fix*/
::-moz-focus-inner {    padding: 0;    border: 0;}
/*mozilla 2002 bugfix*/
img {    max-width: 100%;    height: auto;    border: 0;}
/*image will never cause trouble to content*/

/* Responsive grid  ============================================================================= */

.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}
/*splits up the page horizontally.
You'll need these to break up the content*/

.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}
/*solves floating problems by forcing
the section to self clear its children*/

.col {
    display: block;
    float:left;
    margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }
/*No .last needed, supported by IE7+ */

/*  GRID OF TWO   ============================================================================= */

.span_6_of_7 {
    width:85.48%;
}

.span_5_of_7 {
    width:70.97%;
}

.span_4_of_7 {
    width:56.45%;
}

.span_3_of_7 {
    width:41.94%;
}

.span_2_of_7 {
    width:27.42%;
}

.span_1_of_7 {
    width:12.91%;
}

.span_7_of_8 {
    width:87.3%;
}

.span_5_of_8 {
    width:61.9%;
}

.span_3_of_8 {
    width:36.5%;
}

.span_1_of_8 {
    width:11.1%;
}

.span_8_of_9 {
    width:88.71%;
}

.span_7_of_9 {
    width:77.42%;
}

.span_5_of_9 {
    width:54.84%;
}

.span_4_of_9 {
    width:43.55%;
}

.span_2_of_9 {
    width:20.97%;
}

.span_1_of_9 {
    width:9.68%;
}

.span_9_of_10 {
    width:89.84%;
}

.span_7_of_10 {
    width:69.52%;
}

.span_3_of_10 {
    width:28.88%;
}

.span_1_of_10 {
    width:8.56%;
}

.span_10_of_11 {
    width:90.76%;
}

.span_9_of_11 {
    width:81.52%;
}

.span_8_of_11 {
    width:72.29%;
}

.span_7_of_11 {
    width:63.05%;
}

.span_6_of_11 {
    width:53.81%;
}

.span_5_of_11 {
    width:44.58%;
}

.span_4_of_11 {
    width:35.34%;
}

.span_3_of_11 {
    width:26.1%;
}

.span_2_of_11 {
    width:16.87%;
}

.span_1_of_11 {
    width:7.63%;
}

.span_11_of_12 {
    width:91.53%;
}

.span_7_of_12 {
    width:57.66%;
}

.span_5_of_12 {
    width:40.73%;
}

.span_1_of_12 {
    width:6.86%;
}

.span_1_of_1 {
    width:100%;
}

.span_2_of_3 {
    width:66.13%;
}

.span_1_of_3 {
    width:32.26%;
}

.span_3_of_4 {
    width:74.6%;
}

.span_2_of_4 {
    width:49.2%;
}

.span_1_of_4 {
    width:23.8%;
}

.span_4_of_5 {
    width:79.68%;
}

.span_3_of_5 {
    width:59.36%;
}

.span_2_of_5 {
    width:39.04%;
}

.span_1_of_5 {
    width:18.72%;
}

.span_5_of_6 {
    width:83.06%;
}

.span_1_of_6 {
    width:15.33%;
}

@media only screen and (max-width: 480px) {
    .col {
        margin:1% 0;
        width: 100%;
    }
}

.unslider{overflow:auto;margin:0;padding:0}.unslider-wrap{position:relative}.unslider-wrap.unslider-carousel li{float:left}.unslider-vertical>ul{height:100%}.unslider-vertical li{float:none;width:100%}.unslider-fade{position:relative}.unslider-fade .unslider-wrap li{position:absolute;left:0;top:0;right:0;z-index:8}.unslider-fade .unslider-wrap li.unslider-active{z-index:10}.unslider li,.unslider ol,.unslider ul{list-style:none;margin:0;padding:0;border:none}.unslider-arrow{position:absolute;left:20px;z-index:2;cursor:pointer}.unslider-arrow.next{left:auto;right:20px}

/* =================== General design ================== */

a.icon {background: no-repeat 0 0; padding: 0 0 0 25px;}
.hidden { display: none;}
.f-right {float: right;}
.f-left {float: left;}
.l-allign {text-align: left;}
.c-allign {text-align: center;}
.r-allign {text-align: right;}
.padding-top-5 {padding-top: 5px;} .padding-bottom-5 {padding-bottom: 5px;} .padding-left-5{padding-left: 5px;} .padding-right-5 {padding-right: 5px;}
.padding-top-10 {padding-top: 10px;} .padding-bottom-10 {padding-bottom: 10px;} .padding-left-10{padding-left: 10px;} .padding-right-10 {padding-right: 10px;}
.padding-top-15 {padding-top: 15px;} .padding-bottom-15 {padding-bottom: 15px;} .padding-left-15{padding-left: 15px;} .padding-right-15 {padding-right: 15px;}
.padding-top-20 {padding-top: 20px;} .padding-bottom-20 {padding-bottom: 20px;} .padding-left-20{padding-left: 20px;} .padding-right-20 {padding-right: 20px;}
.margin-top-5 {margin-top: 5px;} .margin-bottom-5 {margin-bottom: 5px;} .margin-left-5{margin-left: 5px;} .margin-right-5 {margin-right: 5px;}
.margin-top-10 {margin-top: 10px;} .margin-bottom-10 {margin-bottom: 10px;} .margin-left-10{margin-left: 10px;} .margin-right-10 {margin-right: 10px;}
.margin-top-15 {margin-top: 15px;} .margin-bottom-15 {margin-bottom: 15px;} .margin-left-15{margin-left: 15px;} .margin-right-15 {margin-right: 15px;}
.margin-top-20 {margin-top: 20px;} .margin-bottom-20 {margin-bottom: 20px;} .margin-left-20{margin-left: 20px;} .margin-right-20 {margin-right: 20px;}
ul, ol {list-style: none;}
ol li {counter-increment: item;}

ul li:before {
    margin-left: -25px;
    margin-top: 10px;
    transition: .3s;
    content: '';
    position: absolute;
    height: 8px;
    width: 8px;
}

ol li:before {
    margin-right: 10px;
    content: counter(item);
    border-radius: 100%;
    width: 1em;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px;
    transition: .3s;
}
a {text-decoration: none;}
a, .btn {
    color: inherit;
    transition: .3s;
}

.btn {
    overflow: visible;
    border: 0;
    font: inherit;
    -webkit-font-smoothing: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}

/*LIGHTBOX*/

@media all {
    .featherlight {
        display: none;

        /* dimensions: spanning the background from edge to edge */
        position:fixed;
        top: 0; right: 0; bottom: 0; left: 0;
        z-index: 2147483647; /* z-index needs to be >= elements on the site. */

        /* position: centering content */
        text-align: center;

        /* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
        white-space: nowrap;

        /* styling */
        cursor: pointer;
        background: #333;
        /* IE8 "hack" for nested featherlights */
        background: rgba(0, 0, 0, 0);
    }

    /* support for nested featherlights. Does not work in IE8 (use JS to fix) */
    .featherlight:last-of-type {
        background: rgba(0, 0, 0, 0.8);
    }

    .featherlight:before {
        /* position: trick to center content vertically */
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -0.25em;
    }

    .featherlight .featherlight-content {
        /* make content container for positioned elements (close button) */
        position: relative;

        /* position: centering vertical and horizontal */
        text-align: left;
        vertical-align: middle;
        display: inline-block;

        /* dimensions: cut off images */
        overflow: auto;
        padding: 25px 25px 0;
        border-bottom: 25px solid transparent;

        /* dimensions: handling large content */
        margin-left: 5%;
        margin-right: 5%;
        max-height: 95%;

        /* styling */
        background: #fff;
        cursor: auto;

        /* reset white-space wrapping */
        white-space: normal;
    }

    /* contains the content */
    .featherlight .featherlight-inner {
        /* make sure its visible */
        display: block;
    }

    .featherlight .featherlight-close-icon {
        /* position: centering vertical and horizontal */
        position: absolute;
        z-index: 9999;
        top: 0;
        right: 0;

        /* dimensions: 25px x 25px */
        line-height: 25px;
        width: 25px;

        /* styling */
        cursor: pointer;
        text-align: center;
        font-family: Arial, sans-serif;
        background: #fff; /* Set the background in case it overlaps the content */
        background: rgba(255, 255, 255, 0.3);
        color: #000;
    }


    .featherlight .featherlight-image {
        /* styling */
        width: 100%;
    }


    .featherlight-iframe .featherlight-content {
        /* removed the border for image croping since iframe is edge to edge */
        border-bottom: 0;
        padding: 0;
    }

    .featherlight iframe {
        /* styling */
        border: none;
    }
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
    .featherlight .featherlight-content {
        /* dimensions: maximize lightbox with for small screens */
        margin-left: 10px;
        margin-right: 10px;
        max-height: 98%;

        padding: 10px 10px 0;
        border-bottom: 10px solid transparent;
    }
}

/*GALLERY */
@media all {
    .featherlight-next,
    .featherlight-previous {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        bottom: 0;
        left: 80%;
        cursor: pointer;
        /* preventing text selection */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        /* IE9 hack, otherwise navigation doesn't appear */
        background: rgba(0,0,0,0);
    }

    .featherlight-previous {
        left: 25px;
        right: 80%;
    }

    .featherlight-next:hover,
    .featherlight-previous:hover {
        background: rgba(255,255,255,0.25);
    }


    .featherlight-next span,
    .featherlight-previous span {
        display: none;
        position: absolute;

        top: 50%;
        left: 5%;
        width: 82%;

        /* center horizontally */
        text-align: center;

        font-size: 80px;
        line-height: 80px;

        /* center vertically */
        margin-top: -40px;

        text-shadow: 0px 0px 5px #fff;
        color: #fff;
        font-style: normal;
        font-weight: normal;
    }
    .featherlight-next span {
        right: 5%;
        left: auto;
    }


    .featherlight-next:hover span,
    .featherlight-previous:hover span {
        display: inline-block;
    }

    /* Hide navigation while loading */
    .featherlight-loading .featherlight-previous, .featherlight-loading .featherlight-next {
        display:none;
    }
}

/* Always display arrows on touch devices */
@media only screen and (max-device-width: 1024px){
    .featherlight-next:hover,
    .featherlight-previous:hover {
        background: none;
    }
    .featherlight-next span,
    .featherlight-previous span {
        display: block;
    }
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
    .featherlight-next,
    .featherlight-previous {
        top: 10px;
        right: 10px;
        left: 85%;
    }

    .featherlight-previous {
        left: 10px;
        right: 85%;
    }

    .featherlight-next span,
    .featherlight-previous span {
        margin-top: -30px;
        font-size: 40px;
    }
}