/* #Reset default styles - start
   ========================================================================== */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font,
ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    outline: none;
}

article, aside, details, figcaption, figure, footer, header, nav, section {
    display: block;
}

del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
    border: medium none;
    vertical-align: middle;
}

table th {
    border: 0;
    padding: 5px 7px;
    text-align: center;
}

table td {
    padding: 5px 10px;
    text-align: center;
}

a img {
    border: none;
}

img, .wp-caption {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

/* #Reset default styles - end
   ========================================================================== */

/* #General styles that are used in our theme - start
 * Here are defined global styles on body element, on container elements that hold every page,
 * headings and links, inputs, core wp styles and default pagination styles
   ========================================================================== */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.clear:after {
    clear: both;
    content: "";
    display: block;
}

html {
    overflow-y: scroll !important; /* for vertical split screen slider shortcode on touch devices */
}

body {
    font-family: $default-text-font;
    font-weight: 300;
    font-size: 15px;
    line-height: 27px;
    color: $default-text-color;
    background-color: $default-background-color;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: $heading-font;
    margin: 20px 0;
    letter-spacing: 2px;
    color: $first-main-color;
    font-weight: 400;
    
    a {
        @include edgeTypographyLayout();
        color: $first-main-color;
        
        &:hover {
            color: $first-main-color;
        }
    }
}

h1 {
    font-size: 45px;
    line-height: 58px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2 {
    font-size: 34px;
    line-height: 48px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h3 {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h4 {
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 26px;
    text-transform: uppercase;
}

h5 {
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 20px;
    text-transform: uppercase;
}

h6 {
    font-size: 15px;
    letter-spacing: 0.5px;
    line-height: 20px;
}

a,
p a {
    color: $default-heading-color;
    text-decoration: none;
    @include edgeTransition(color .2s ease-out);

    &:hover {
        color: $first-main-color;
    }
}

p {
    margin: 10px 0;
    font-family: $default-text-font;
}

input[type='submit'] {
    -webkit-appearance: none;
}

ul, ol {
    list-style-position: inside;
    margin: 15px 0;
}

ul ul,
ol ol,
ol ul,
ul ol {
    margin: 0;
    padding: 0 0 0 15px;
}

pre {
    background-color: $default-background-color;
    padding: 15px;
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 15px 0;
}

dt {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

dd {
    margin-bottom: 15px;
}

sub, sup {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    top: 0.5ex;
}

sup {
    bottom: 0.5ex;
}

.wp-caption-text {
    margin: 0;
    font-style: italic;
}

table {
    width: 100%;
}

table thead tr, table tbody tr {
    border: 1px solid $default-border-color;
}

table tbody th {
    border-right: 1px solid $default-border-color;
}

blockquote {
    @include edgeRelativeHolderLayout();
    margin: 10px 0;
    padding: 0;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    quotes: none;
    box-sizing: border-box;

    > * {
        @include edgeTypographyLayout();
        margin: 0;
    }

    &:before,
    &:after {
        content: '';
    }

	cite {
		font-style: normal;
		font-weight: 400;
	}
}

/* Webkit */
::selection {
    background: $first-main-color;
    color: $default-background-color;
}

/* Gecko/Mozilla */
::-moz-selection {
    background: $first-main-color;
    color: $default-background-color;
}

mark{
    background: transparent;
    color: $first-main-color;
}

.wp-caption,
.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor {
    opacity: 1;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 10px auto;
}

.alignwide {
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

@include ipad-landscape {

    .alignwide {
        width: 100%;
        max-width: 100%;
    }
}

.alignfull {
    position: relative;
    left: -1rem;
    width: calc( 100% + (2 * 1rem));
    max-width: calc( 100% + (2 * 1rem));
    clear: both;
}

@include ipad-landscape {

    .alignfull {
        left: calc( -12.5% - 75px);
        width: calc( 125% + 150px);
        max-width: calc( 125% + 150px);
        margin-top: calc(2 * 1rem);
        margin-bottom: calc(2 * 1rem);
    }
}

.text-align-right {
    text-align: right;
}

.text-align-left {
    text-align: left;
}

.text-align-center {
    text-align: center;
}

.edge-wrapper {
    position: relative;
    left: 0;
    z-index: 100;

    .edge-wrapper-inner {
        width: 100%;
        overflow: hidden;
    }
}

.edge-content {
    position: relative;
    margin-top: 0;
    z-index: 100;
    background-color: $default-background-color; /*this is needed because of the uncovering footer*/
}

.edge-boxed {
    overflow: hidden !important; /* this is because content jumping while using accordion and display:inline-block on 'body.edge-boxed .edge-wrapper'   */

    .edge-wrapper {
        display: inline-block;
        vertical-align: middle;
        width: 100%;

        .edge-wrapper-inner {
            width: $grid-width-boxed;
            overflow: visible;
            margin: auto;
        }
    }

    .edge-content {
        overflow: hidden;
    }

    .edge-footer-inner {
        width: $grid-width-boxed;
        margin: auto;
    }

    .edge-page-header .edge-sticky-header,
    .edge-page-header .edge-fixed-wrapper.fixed {
        width: $grid-width-boxed;
        left: auto;
    }
}

.edge-paspartu-enabled {

    .edge-wrapper {
        padding: 10px;
        background-color: #fff;
        box-sizing: border-box;
    }

    &.edge-top-paspartu-disabled {

        .edge-wrapper {
            padding-top: 0 !important;
        }
    }
}

.edge-smooth-transition-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.edge-container {
    background-color: #fff; //beacuse of the Edge Slider, since content have to go over it
    position: relative;
    padding: 0;
    width: 100%;
    z-index: 100;

    &:before {
        content: " ";
        display: table;
    }

    &:after {
        content: " ";
        display: table;
        clear: both;
    }
}

.edge-container-inner { //not in parent selector since this class is used for positioning other elements in grid
    width: $grid-width;
    margin: 0 auto;
}

.edge-full-width {
    position: relative;
    z-index: 100;
}

.edge-content .edge-content-inner > .edge-container > .edge-container-inner,
.edge-content .edge-content-inner > .edge-full-width > .edge-full-width-inner {
	padding-top: 100px; // default value for content top padding
}

@media only screen and (min-width: 1400px) {

    .edge-grid-1300 {

        .edge-grid,
        .edge-container-inner,
        .edge-row-grid-section,
        .edge-footer-top-border-holder.edge-in-grid,
        .edge-footer-bottom-border-holder.edge-in-grid {
            width: $grid-width-1300;
        }
    }

    .edge-grid-1300.edge-boxed {

        .edge-footer-inner,
        .edge-wrapper-inner {
            width: $grid-width-1300 + 50px;
        }

        .edge-page-header .edge-sticky-header,
        .edge-page-header .edge-fixed-wrapper.fixed {
            width: $grid-width-1300 + 50px;
            left: auto;
        }
    }
}

@media only screen and (min-width: 1300px) {

    .edge-grid-1200 {

        .edge-grid,
        .edge-container-inner,
        .edge-row-grid-section,
        .edge-footer-top-border-holder.edge-in-grid,
        .edge-footer-bottom-border-holder.edge-in-grid {
            width: $grid-width-1200;
        }
    }

    .edge-grid-1200.edge-boxed {

        .edge-footer-inner,
        .edge-wrapper-inner {
            width: $grid-width-1200 + 50px;
        }

        .edge-page-header .edge-sticky-header,
        .edge-page-header .edge-fixed-wrapper.fixed {
            width: $grid-width-1200 + 50px;
            left: auto;
        }
    }
}

@media only screen and (min-width: 1200px) {

    .edge-grid-1000 {

        .edge-grid,
        .edge-container-inner,
        .edge-row-grid-section,
        .edge-footer-top-border-holder.edge-in-grid,
        .edge-footer-bottom-border-holder.edge-in-grid {
            width: $grid-width-1000;
        }
    }

    .edge-grid-1000.edge-boxed {

        .edge-footer-inner,
        .edge-wrapper-inner {
            width: $grid-width-1000 + 50px;
        }

        .edge-page-header .edge-sticky-header,
        .edge-page-header .edge-fixed-wrapper.fixed {
            width: $grid-width-1000 + 50px;
            left: auto;
        }
    }
}

@media only screen and (min-width: 1024px) {
    .edge-grid-800 {

        .edge-grid,
        .edge-container-inner,
        .edge-row-grid-section,
        .edge-footer-top-border-holder.edge-in-grid,
        .edge-footer-bottom-border-holder.edge-in-grid {
            width: $grid-width-800;
        }
    }

    .edge-grid-800.edge-boxed {

        .edge-footer-inner,
        .edge-wrapper-inner {
            width: $grid-width-800 + 50px;
        }

        .edge-page-header .edge-sticky-header,
        .edge-page-header .edge-fixed-wrapper.fixed {
            width: $grid-width-800 + 50px;
            left: auto;
        }
    }
}

/* #General styles that are used in our theme - end
   ========================================================================== */

@include keyframes(preload-background) {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 0;
    }
}

.edge-preload-background {
    background-repeat: repeat !important;
    background-color: transparent !important;
    background-attachment: scroll !important;
    background-size: inherit !important;
    @include animation(preload-background, 40s, infinite, linear, 0s);
}

.edge-grid {
    width: $grid-width;
    margin: 0 auto;
}

.edge-vertical-align-containers {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;

    &.edge-25-50-25 {

        .edge-position-left,
        .edge-position-right {
            width: 25%;
        }

        .edge-position-center {
            width: 50%;
            left: 50%;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
        }

    }

    &.edge-33-33-33 {

        .edge-position-left,
        .edge-position-center,
        .edge-position-right {
            width: 33.33%;
        }

        .edge-position-center {
            width: 50%;
            left: 50%;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
        }

    }

    &.edge-50-50 {

        .edge-position-left,
        .edge-position-right {
            width: 50%;
        }

    }

    &.edge-33-66 {
        .edge-position-left {
            width: 33.33%;
        }

        .edge-position-right {
            width: 66.66%;
        }
    }

    &.edge-66-33 {
        .edge-position-left {
            width: 66.66%;
        }

        .edge-position-right {
            width: 33.33%;
        }
    }

    .edge-position-left {
        position: relative;
        float: left;
        z-index: 2;
        height: 100%;
    }
    .edge-position-center {
        height: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        text-align: center;
        z-index: 1;
    }

    .edge-position-right {
        position: relative;
        float: right;
        z-index: 2;
        height: 100%;
        text-align: right;
    }

    .edge-position-left-inner,
    .edge-position-center-inner,
    .edge-position-right-inner {
        vertical-align: middle;
        display: inline-block;
    }
    .edge-position-right.edge-has-widget .edge-position-right-inner {
        height: 100%;
    }

    .edge-position-left:before,
    .edge-position-center:before,
    .edge-position-right:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        height: 100%;
        margin-right: -3px; /* adjusts for spacing */
    }
}

/* ==========================================================================
   #Row styles - start
   ========================================================================== */

.edge-row-grid-section {
    position: relative;
    width: 1100px;
    margin: 0 auto;
    z-index: 20;
}

.edge-content-aligment-left {
    text-align: left;
}

.edge-content-aligment-center {
    text-align: center;
}

.edge-content-aligment-right {
    text-align: right;
}

.vc_row .wpb_gmaps_widget .wpb_wrapper {
    padding: 0;
    background-color: transparent;
}

/*visual composer override styles*/
.wpb_row,
.wpb_content_element,
ul.wpb_thumbnails-fluid > li,
.last_toggle_el_margin, .wpb_button {
	margin-bottom: 0 !important; // important is in order to prevent visual composer styles in all cases
}
/* ==========================================================================
   #Row styles - end
   ========================================================================== */

/* ==========================================================================
   #Screen reader text - begin
   ========================================================================== */

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    
    &:focus {
	    clip: auto !important;
	    display: block;
	    top: 5px;
	    left: 5px;
	    width: auto;
	    height: auto;
	    padding: 15px 23px 14px;
	    color: #21759b;
	    font-size: 14px;
	    font-weight: bold;
	    line-height: normal;
	    text-decoration: none;
	    background-color: #f1f1f1;
	    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
        z-index: 100000; /* Above WP toolbar. */
    }
}
/* ==========================================================================
   #Screen reader text - end
   ========================================================================== */