/*
Theme Name: Film Tampere
Theme URI: https://filmtampere.com
Author: Moretag Agency 2018
Author URI: http://www.moretag.fi
Description:  Film Tampere
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: filmtampere
Tags: blog, moretag, film tampere, tampere
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}



body {
  margin: 0;
  -webkit-font-smoothing: auto;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
}






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

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
	text-decoration: none;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Film Tampere header
--------------------------------------------------------------*/

.iameditor{
	background-color: #29549a;
	color: #39a7d7;
	text-align: right;
}
.iameditor a {
    color: #FFFFFF;
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #39a7d7;
    border-radius: 5px;
    margin: 6px 1px 6px 1px;
	transition: all .15s ease-in-out;
}
.iameditor a:hover {
    color: #FFFFFF;
    background-color: #abc872;
	transition: all .15s ease-in-out;
}



.gfield_checkbox li {
    float: left;
    width: 20%;
}
li.gchoice_3_11_1 {
    width: 90%;
}

span.articletitlee {
    background-color: #29549a;
        padding: 0px 10px 0px 10px;
    color: #FFF;
    font-size: 60px;
    float: left;
    margin-top: 40px;
    display: block;
	margin-bottom: 12px;
	text-transform: uppercase;
    font-weight: 600;
}
.locationitem {
    z-index: 5;
    margin-top: -105px;
}


.navbar-light .navbar-brand {
    color: rgba(0,0,0,0.9);
}
.navbar-brand {
    margin: 0 20px;
}
.navbar-brand svg {
    width: 200px;
    height: 100px;
}


.navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.page-header nav.navbar {
    padding: 0;
}
.page-header .secondary-nav {
    position: absolute;
    left: unset;
    right: 0;
    top: 5px;
}
.page-header nav {
    display: block;
    width: 100%;
	}

.menu-secondary-menu-container {
    display: inline-block;
}

.page-header .secondary-nav .navbar-nav {
    display: block;
    margin: 5px 4px 0 4px;
    text-align: left;
}
.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}
.page-header .secondary-nav .navbar-nav>li.menu-item {
    display: inline-block;
    width: auto;
}
.page-header .secondary-nav .navbar-nav .menu-item {
    margin-right: 10px;
}
.lang-sel {
    display: inline-block;
    list-style-type: none;
    padding: 0;
    text-transform: uppercase;
}
.lang-sel li {
    display: inline-block;
}
.lang-sel li:not(:last-child):after {
    content: ' |';
    margin-right: 4px;
    font-size: 1.4rem;
}
.navbar-expand-lg .navbar-collapse {
    display: -ms-flexbox!important;
    display: inline-block !important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
}
.navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
}
	.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
}
header.page-header {
    display: block;
    text-align: center;
}
.page-header nav .navbar-nav {
    padding-bottom: 0;
    z-index: 10;
    position: relative;
}
.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.page-header nav .navbar-nav .nav-item .nav-link {
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 18px;
    color: #000;
}
.page-header nav .navbar-nav>.nav-item .nav-link {
    position: relative;
    color: #000;
    text-decoration: none;
    padding: 15px;
}
.page-header nav .navbar-nav>.nav-item .nav-link:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.page-header nav .navbar-nav>.nav-item .nav-link:before {
    content: "";
    position: absolute;
    width: 50%;
    background-color: #00417d;
    height: 2px;
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 300ms cubic-bezier(0.77, 0, 0.175, 1) 0ms;
    -moz-transition: all 300ms cubic-bezier(0.77, 0, 0.175, 1) 0ms;
    -o-transition: all 300ms cubic-bezier(0.77, 0, 0.175, 1) 0ms;
    transition: all 300ms cubic-bezier(0.77, 0, 0.175, 1) 0ms;
}
.page-header nav .navbar-nav> .current-menu-item.nav-item .nav-link:before {

    visibility: visible !important;
}
header.page-header {
    display: block;
    text-align: center;
}
.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}

.NOTcurrent-menu-item a  {
	border-bottom: solid 2px #00417d;

}


.navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;


 }


.navbar-nav {
  display: flex;
  flex-direction: column; 
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
  .nav-link {
    padding-right: 0;
    padding-left: 0;
  }

  .dropdown-menu {
    position: static;
    float: none;
  }


/*   filters  */
.wpupg-filter-item.wpupg-filter-isotope-term {
    font-size: 11px;
}




.navbar-text {
  display: inline-block;
  padding-top: $nav-link-padding-y;
  padding-bottom: $nav-link-padding-y;
}


.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}


.navbar-toggler {
  padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
  font-size: $navbar-toggler-font-size;
  line-height: 1;
  background-color: transparent; 
  border: $border-width solid transparent; 
 
}


.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}






.navbar-light {
  .navbar-brand {
    color: $navbar-light-active-color;

    @include hover-focus {
      color: $navbar-light-active-color;
    }
  }

  .navbar-nav {
    .nav-link {
      color: $navbar-light-color;

      @include hover-focus {
        color: $navbar-light-hover-color;
      }

      &.disabled {
        color: $navbar-light-disabled-color;
      }
    }

    .show > .nav-link,
    .active > .nav-link,
    .nav-link.show,
    .nav-link.active {
      color: $navbar-light-active-color;
    }
  }

  .navbar-toggler {
    color: $navbar-light-color;
    border-color: $navbar-light-toggler-border-color;
  }

  .navbar-toggler-icon {
    background-image: $navbar-light-toggler-icon-bg;
  }

  .navbar-text {
    color: $navbar-light-color;
    a {
      color: $navbar-light-active-color;

      @include hover-focus {
        color: $navbar-light-active-color;
      }
    }
  }
}


.navbar-dark {
  .navbar-brand {
    color: $navbar-dark-active-color;

    @include hover-focus {
      color: $navbar-dark-active-color;
    }
  }

  .navbar-nav {
    .nav-link {
      color: $navbar-dark-color;

      @include hover-focus {
        color: $navbar-dark-hover-color;
      }

      &.disabled {
        color: $navbar-dark-disabled-color;
      }
    }

    .show > .nav-link,
    .active > .nav-link,
    .nav-link.show,
    .nav-link.active {
      color: $navbar-dark-active-color;
    }
  }

  .navbar-toggler {
    color: $navbar-dark-color;
    border-color: $navbar-dark-toggler-border-color;
  }

  .navbar-toggler-icon {
    background-image: $navbar-dark-toggler-icon-bg;
  }

  .navbar-text {
    color: $navbar-dark-color;
    a {
      color: $navbar-dark-active-color;

      @include hover-focus {
        color: $navbar-dark-active-color;
      }
    }
  }
}
/* Desktop navigation */
@media (min-width: 992px) {
    .page-header {
        nav {
            &.page-header{
                .collapse{
                    display: inline-block !important;
                }
            }
            .navbar-nav {
                padding-bottom: 0;
                .dropdown-item {
                    white-space: normal;
                    &:hover {
                        background-color: $accentGrey;

                    }
                }
                z-index: 10;
                position: relative;

                >.nav-item {
                    position: unset;
                    display: inline-block;
                    z-index: 2;
                    margin: 0;
                    >a {
                        font-size: 1.6rem;
                        font-weight: 400;
                    }
                    &:hover{
                        >.dropdown-menu {
                            display: block;
                        }
                    }
                    >.dropdown-menu {
                        columns: 3;
                        >.nav-item.menu-item-has-children {
                            //margin-bottom: 100%;
                        }
                        >.nav-item.menu-item-has-children ~ .nav-item {
                      
                            margin-top: 100%;
                        }
                        >.nav-item:not(.menu-item-has-children) ~ .nav-item {
                          
                            margin-top: 0 !important;
                        }
                        >.nav-item {
                         
                            -webkit-column-break-inside: avoid;
                            page-break-inside: avoid;
                            break-inside: avoid;
                        }
                    }
                    >.dropdown-menu {
                        $dropdownheight: 350px;
                        $dropdownwidth: 800px;
                        position: absolute;
                        z-index: 2;
                        width: $dropdownwidth;
                        height: auto;
                        padding: 40px 0;
                        border: none;
                        border-radius: 0;
                        margin: 0;
                        top: 52px;
                        left: -80px;
                        background: none;
                        &:before {
                            content: '';
                            z-index: -1;
                            display: block;
                            width: 300vw;
                            min-height: $dropdownheight;
                            height: 100%;
                            position: absolute;
                            top: 0;
                            left: -100vw;
                            background-color: $lightGrey;
                            -webkit-box-shadow: 0px 33px 132px -76px rgba(18,28,70,0.81);
                            -moz-box-shadow: 0px 33px 132px -76px rgba(18,28,70,0.81);
                            box-shadow: 0px 33px 132px -76px rgba(18,28,70,0.81);
                        }
                        >.nav-item {
                            display: block;
                            >a {
                                font-size: 1.5rem;
                                font-weight: 600;
                            }

                            &.menu-item-has-children {
                                display: block;
                                width: 100%;
                                font-size: 1.8rem;
                                padding-left: 0;
                                .dropdown-menu {
                                    position: relative;
                                    display: block;
                                    border-radius: 0;
                                    border: none;
                                    background-color: $lightGrey;
                                    .nav-item {
                                        >a {
                                            font-size: 1.5rem;
                                            font-weight: 400;
                                        }
                                        .dropdown-item {
                                            padding: 6px 12px;
                                            &:before {
                                                content: '\0203A';
                                                display: inline-block;
                                                margin-right: 8px;
                                                font-size: 1.8rem;
                                            }

                                        }
                                    }
                                }
                            }
                        }
                    }

                    /* Active page link */
                    &.active {
                        .nav-link {
                            &:before{
                                visibility: visible;
                                -webkit-transform: scaleX(1);
                                transform: scaleX(1);
                            }
                        }
                    }
                    .nav-link {
                        position: relative;
                        color: $darkBlue;
                        text-decoration: none;
                        padding: 15px;
                        &:before{
                            content: "";
                            position: absolute;
                            width: 50%;
                            background-color: $lightBlue;
                            height: 2px;
                            margin:0 auto;
                            bottom: 0;
                            left: 0;
                            right:0;
                            visibility: hidden;
                            -webkit-transform: scaleX(0);
                            transform: scaleX(0);
                            @include default-transition(all, 300ms, 0ms);
                        }
                        &:hover {
                            &:before{
                                visibility: visible;
                                -webkit-transform: scaleX(1);
                                transform: scaleX(1);
                            }
                            .dropdown-menu {

                            }
                        }
                    }
                }
            }
        }
        .secondary-nav{
            position: absolute;
            left: unset;
            right:0;
            top:5px;
            .navbar-nav {
                .menu-item{
                    margin-right: 10px;
                    >a{
                        font-size: $font-size;
                        color:$darkGrey;
                    }
                    &:hover{
                        .sub-menu{
                            display: block;
                        }
                        >.dropdown-menu {
                            display: block;
                        }
                    }
                    &.menu-item-has-children {
                        .dropdown-menu {
                            top: 100%;
                        }
                    }
                }

            }
        }
    }
}

.page-header nav .navbar-nav>.nav-item {
    position: unset;
    display: inline-block;
    z-index: 2;
    margin: 0;
}
.page-header nav .navbar-nav>.nav-item>.nav-link {
    font-size: 1rem;
    font-weight: 400;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: rgba(0,0,0,0.7);
}
.nav-link {
    display: block;
    padding: .5rem 1rem;
}
.page-header nav.navbar {
    padding: 0;
	    margin-bottom: -8px;
}
.page-header nav {
    display: block;
    width: 100%;
}
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
}

/*--------------------------------------------------------------
# Film Tampere specials
--------------------------------------------------------------*/


li.gchoice_1_11_1 {
    width: 100%;
}
.gform_wrapper .top_label .gfield_label {
    display: -moz-inline-stack;
    display: inline-block;
    line-height: 1.3;
    clear: both;
    margin-top: 18px;
}

p.crewprofile {
    font-size: 12px;
    color: #CCC;
}
span.skillpill {
    background-color: #29549a;
    padding: 7px 10px 6px 10px;
    color: #FFF;
    margin-right: 4px;
    margin-bottom: 4px;
	text-transform: lowercase;
	margin-bottom: 5px;
    display: inline-block;
}
span.skillpill2 {
    background-color: #91c9ea;
    padding: 7px 10px 6px 10px;
    color: #FFF;
    margin-right: 4px;
    margin-bottom: 4px;
	text-transform: lowercase;
	margin-bottom: 5px;
    display: inline-block;
}


.navigation.post-navigation {
    padding-top: 1.875rem;
    display: none;
}
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input, .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: 0px !important;
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
    font-size: 1em;
    width: auto;
    margin: 0 16px 0 0;
    background-color: #29549a;
    color: #FFF;
    padding: 10px 16px 10px 16px;
	border: 0px;
}
.fullleftitem {
    padding-left: 60px;
}
.fullrightitem{
	padding-right: 60px;
}
.contact-item .contact_name {
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
	font-size: 20px;
}
.light h4 {
    color: #FFF;
	text-shadow: 0px 2px 5px rgba(0,0,0,0.7);
}

.contact-item .contact_title {
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}
.contact-item .contact_info {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
}
.ftfullcontent{
	max-width: 70%;
}

footer {
    padding: 20px 0px;
    background-color: #29549a;
    color: #fff;
    height: 600px;
    background-image: url(images/footer-graphic.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    position: relative;
	    background-size: contain;
    background-position: bottom;
}
footer .footer-logo svg {
    width: 200px;
    height: 100px;
    margin-left: 20px;
    display: block;
    margin-top: 20px;
}

footer .footer-some {
    width: auto;
    position: absolute;
    bottom: unset;
    top: 60px;
    right: 60px;
}
footer .footer-some a {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
footer .footer-some a img {
    width: 100%;
    height: 100%;
}
footer .footer-text {
    margin-top: 0px;
    text-align: left;
    padding: 0 20px;
}
footer .footer-text p {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    margin-bottom: 5px;
}
footer a{
    color: #fff;
}
footer a:hover{
    color: #f8f8f8;
}




.bt-hero__text {
    font-size: 21px;
    line-height: 29px;
}
.accessibility, .visuallyhidden, .screen-reader {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}
.bt-hero__title {
    font-size: 3rem;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0; 
    overflow: hidden;
	padding-top: 0px;
}
 
.video-container iframe,
.video-container object,
.video-container #overlay,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#overlay {
    opacity:1;
    z-index:50;
    color:#fff;
}
.myvideocontent{
	padding-top: 100px;
}



.front-section {
    max-width: 100%;
    width: 100%;
    max-height: calc(100vh - 80px);
    height: auto;
	min-height: 500px;
}
.front-section__inner {
    top: auto;
    right: 0;
    bottom: calc(10px + 1.2vw);
    left: 0;
    z-index: 1;
}
.front-section:nth-child(2n) .front-section__content {
    margin-left: 58%;
}

.front-section__title {
    color: #ffffff;
    font-size: 1.3125rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .36em;
    text-shadow: 0 0 4px rgba(0,0,0,0.2);
	padding-top: 80px;
}
.front-section__title {
    font-size: 3rem;
}
.front-section__decription {
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.2em;
    text-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.front-section__decription {
    font-size: 1.2rem;
}
.front-section__link {
    color: inherit;
    text-decoration: inherit;
}

.shademybg {
    background-color: #29549a;
    height: 500px;
    position: absolute;
    width: 100%;
    margin-left: -50%;
    opacity: 0.8;
}
.shademybg2 {
    background-color: #29549a;
    height: 500px;
    position: absolute;
    width: 50%;
    margin-left: 50%;
    opacity: 0.8;
}




/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
  clear: both;
  color: #24292e;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 15px;
}
h1 {
  font-size: 32px;
  padding-bottom: 10px;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 25px;
}
h4 {
  font-size: 16px;
  line-height: 20px;
}
h5 {
  font-size: 14px;
  line-height: 17.5px;
}

p {
  margin-bottom: 1.5em;
}
h1.entry-title {
     font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 2.7rem;
    color: #00417d;
}
h2.entry-title {
 
}
h3.widget-title {
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

.full {
width: 100%;
}
.hero-area {
width: 100%;
}
.leipis {
    width: 50%;
	padding-top: 20px;
}

.btdark .herotext, .btdark .leipis {
	text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
	color: #FFFFFF;
}
.btlight .herotext, .btlight .leipis {
	text-shadow: none;
	color: #323232;
}


.herotext {
    font-size: 41px;
    line-height: 40px;
	width: 50%;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;

}

.center .herotext  {
	width: 100% !important;
	padding-left: 20%;
	padding-right: 20%;
}
.center .leipis  {
	width: 100% !important;
	padding-left: 20%;
	padding-right: 20%;
}
.right .herotext  {
	text-align: left !important;
}
.right .leipis  {
	text-align: left !important;
}

.page-template-page-kategoria #content.site-content{
padding-top: 0px;
	padding-bottom: 0px;
}
.clearfix{
	clear: both;
}
#footer-widget {
    background-color: #111c46;
    min-height: 300px;
    padding-top: 60px;
}


img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  background-color: #563d7c ;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
  padding: .74rem 1rem;
}

.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover !important;
}

#page-sub-header h1 {
  line-height: 1;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
  color: #212529;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  #page-sub-header h1 {
    font-size: 3.750rem;
    line-height: 1;
  }

  #page-sub-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 43rem;
    margin: 0 auto;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

#masthead .navbar-nav > li > a {
  color: #cdbfe3;
  padding: 0.5rem;
  font-weight: 500;
  font-size: 14px;
}

#masthead .navbar-nav > li > a:hover, #masthead .navbar-nav > li.current_page_item > a {
  color: #fff;
  font-weight: 600;
  /*background: #f9f9f9;*/
}

.navbar-brand {
  height: auto;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  font-size: 14px;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 14px;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 3.75rem;
  padding-top: 4.125rem;
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: fontawesome;
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
  width: 8.313rem !important;
}

.variations_form .variations .value > select {
  margin-bottom: 0.625rem;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
  display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.elementor-page .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
  display: none;
}

.vc_desktop #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.vc_desktop .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  color: #99979c;
  background-color: #f7f7f7;
  font-size: 85%;
}

.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 93%;
  }
	
		.gfield_checkbox li {
    float: left;
    width: 50%;
}
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 90%;
  }
	
	.ftfullcontent{
	max-width: 90%;
}

	
	
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 88%;
  }
	.ftfullcontent{
	max-width: 100%;
}
	.gfield_checkbox li {
    float: left;
    width: 90%;
}
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 86%;
  }
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  max-width: 1024px;
  margin: 4rem 0;
}

@media only screen and (min-width: 767px) {
  .services-grid{  
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (min-width: 1024px) {
  .services-grid{  
    grid-template-columns: repeat(5, 1fr);
  }
}

.container-full{
  background-color: #F2F2F2;
  padding-top: 30px;
  padding-bottom: 30px;
}

.services-grid img{
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.services-grid h2{
  font-size: 0.875rem;
  margin: 0;
  padding: 1rem 0.5rem;
  color: white;
  background: black;
  flex-grow: 1;
}

.services-grid__item{
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid black;

}

.services-filter__button{
  margin: 0.25rem 1px;
  padding: 0.583rem 0.8125rem;
  border: 0px solid rgb(28, 49, 72);
  background-color: rgb(57, 167, 215);
  color: white;
  font-size: 0.6875rem;
  border-radius: 40px;
}