/*
 Theme Name: Brandweb Child
 Theme URI: https://brandweb.alexanderjuulj.com
 Author: Alexander Juul J.
 Author URI: https://alexanderjuulj.com
 Description: This theme is based on the responsive framework Bootstrap.
 Template: brandweb
 Version: 1.0
 Tags: custom-menu, custom-logo, editor-style, footer-widgets, full-width-template, right-sidebar, left-sidebar, e-commerce, blog
 Text Domain: brandweb-child
*/


/* Chrome css reboot
-------------------------------------------------------------- */
body {
    overflow-x: hidden;
}

.mega-wpml-ls-menu-item {
	display: none !important;
}

/* =Core
-------------------------------------------------------------- */
body, p, dl, ol, ul {
    font-family: 'Quicksand'!important;
    color: #212529;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.top_before_content_spacer {
    height: 10px!important;
    min-height: 10px;
    max-height: 10px;
    background-color: #EAEAEA;
}

#pageContent {
  padding-bottom: 8rem;
  padding-top: 0;
}

.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    overflow-x: hidden;
}

.wp-block-image figcaption {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    color: #666;
}

ul {
    color: #212529
}

ul li::marker {
    color: #00A1ED;
}

/* =HEADER
-------------------------------------------------------------- */
.etfl_header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#facebook_etfl {
    color: #3B5998;
    font-size: 32px;
    line-height: 32px;
    margin: 0 0 0 20px;
    
    
    -webkit-transform:translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#members_etfl {
    color: #F47539;
    font-size: 32px;
    line-height: 32px;
    margin: 0 20px 0 20px;
}

#members_etfl_logout {
    color: #3A5664;
    font-size: 32px;
    line-height: 32px;
    margin: 0 20px 0 0;
}

/* =ACF Block: Color box with text
-------------------------------------------------------------- */
.cbox-text {
    min-height: 225px;
    height: 100%;
    margin-bottom:30px;
}

.cbox-text a {
    display: block;
    padding: 30px;
    height: 100%;
}

.cbox-text a:hover,
.cbox-text a:focus,
.cbox-text a:active {
    text-decoration: none;
}

.cbox-text h4 {
    font-size: 2.6em;
    font-weight:700;
    line-height:1;
    margin:0;
}

.cbox-text p {
    font-size: 1.2em;
    font-weight:700;
    line-height:1;
    margin:0;
}


/* =ACF Block: Color box with image
-------------------------------------------------------------- */
.cbox-image {
    min-height: 225px;
    height: 100%;
    margin-bottom:30px;
}

.cbox-image a {
    display: block;
    padding: 30px;
}

.cbox-image a:hover,
.cbox-image a:focus,
.cbox-image a:active {
    text-decoration: none;
}


/* =Search
-------------------------------------------------------------- */
.page-numbers {
    background-color: #F47538;
    color: #fff;
    line-height: 1;
    border-radius: 4px;
    padding: 7px 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.page-numbers.current {
    background: #ccc;
}

.page-numbers:hover {
    color: #fff;
    text-decoration: none;
    background: #E46A31;
}

.page-numbers.current:hover {
    cursor: not-allowed;
    background: #ccc;
}

.page-numbers.dots {
    background: transparent;
    color: #212529;
    padding: 0 5px;
}



/* =Pagination
-------------------------------------------------------------- */
.page-numbers {
    background-color:  #F47538;
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
    color: #000;
    margin: 0 5px;    
    display: inline;
}

.page-numbers.current {
    background-color: #ccc;
}

.page-numbers:hover,
.page-numbers:focus,
.page-numbers:active {
    background-color: #E46A31;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}

.page-numbers.dots {
    background: transparent;
    color: #000;
    cursor: context-menu;
}
/* =Search and Filter Pro
-------------------------------------------------------------- */
.searchandfilter ul {
    margin-top: 0;
    margin-bottom: 40px;
    padding: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.searchandfilter ul li {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.searchandfilter ul li.sf-field-search {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.searchandfilter ul li label,
.searchandfilter ul li input,
.searchandfilter ul li label select,
.searchandfilter ul li label input {
    width: 100%;
}

.searchandfilter ul li input {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 8px 20px;
    line-height: 1;
    font-size: 1rem;
    color: #495057;
}

.searchandfilter ul li.sf-field-submit input {
    background-color: #F47538;
    border: 1px solid #F47538;
    padding: 10px 20px;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
}


.searchandfilter ul li select {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    word-wrap: normal;
}

select::before {
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.searchandfilter ul li.sf-field-taxonomy-meie-liikmed {

    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.searchandfilter ul li.sf-field-submit {

    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.searchandfilter ul li.sf-field-taxonomy-liikmed-liik {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}


.pagination { 
    display:none; 
}

.search-filter-results {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}




/* =Frontpage slider
-------------------------------------------------------------- */
.frontpage-main-slider {
    position: relative;
}

#pageContent .ls-fullscreen-wrapper {
    margin-top: 0.4em;
}

#pageContent .ls-fullscreen-wrapper * {
    min-height: 300px!important;
}

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

.blurp--top, .down-arrow, .down-arrow .arrow {
    position: absolute;
    left: 50%;
    /*top: 82.5%;*/
}

.blurp--top {
    transform-origin: 50% 100%;
    bottom: 0;
    z-index: 30;
    margin-left: -96px;
    margin-bottom: -12px;
}

.arrow > a, .down-arrow {
    width: 80px;
    height: 80px;
    display: block;
}

.arrow > a {
    z-index: 999;
    margin-top: -20px;
    margin-left: -20px;
}

.down-arrow {
    z-index: 100;
    margin-left: -40px;
    opacity: .7;
}

.down-arrow--bubble {
    bottom: 0;
    margin-bottom: -16px;
}

.down-arrow .arrow {
    top: 50%;
    z-index: 20;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.down-arrow--bubble .arrow {
    width: 16px;
    height: 16px;
    margin-left: -8px;
    margin-top: -8px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
}

.frontpage-spacer {
    margin-top: 53px;
}

/* Frontpage news
-------------------------------------------------------------- */
#news_container {

}

#news_container .row:first-child .col:first-child {
    padding-left: 0;
    padding-right: 0;
}

#news_container .col-4:first-child {
    padding-left: 0px!important;
}
#news_container .col-4:last-child {
    padding-right: 0px!important;
}

.card {
    padding: 0;
    border: none;
    box-shadow: 0px 3px 6px #0000001A;
    height: 100%;
}

.card:first-child {
    margin-left: 0rem!important;
}

.card:last-child {
    margin-right: 0rem!important;
}

.card .card-image-post {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.card-image-post .post-date {
	font-size: 14px;
	font-weight: 700;
	color: #000;
	position: absolute;
	right: 10px;
	bottom: 0;
	background: #fff;
	padding: 8px 10px;
	border-radius: 5px 5px 0 0px;
	line-height: 1;
	box-shadow: 0 -2px 2px rgba(0,0,0,0.2);
}

.card .card-image-post .image-card {
    height: 200px;
    flex-grow: 1;
}

.card .card-image-post .image-card img {
    max-height: 100%;
    height: 100%;
    width: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.card .card-text {
    margin-bottom: 40px;
}

.btn-primary {
    background-color: #F47538;
    border-color:#F47538; 
    color: #000;
    line-height: 1;
    border-radius: 4px;
    padding: 7px 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #E46A31;
    border-color:#E46A31; 
}

.custom_width .grids-s-w_i::before {
    left: 105px;
    right: 105px;
}

/* =Core
-------------------------------------------------------------- */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Quicksand'!important;
    font-weight: bold;
}

h1, .h1 {
    font-size: 40px;
    letter-spacing: 0px;
}

h2, .h2{
    font-size: 30px;
    letter-spacing: 0px;
}

h3, .h3 {
    font-size: 24px;
    letter-spacing: 0px;
}

h4, .h4 {
    font-size: 20px;
    letter-spacing: 0px;
}

h5, .h5 {
    font-size: 19px;
}

h6, .h6 {
    font-size: 18px;
}

/* =Navbar
-------------------------------------------------------------- */
.acf-form .acf-fields {
    margin-top: 0;
    padding: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/*Title*/
.acf-form .acf-field--post-title {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
}
 /*Brand name*/
.acf-field-5fbfe1901e869 {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
}

/*Adress*/
.acf-field-5ddea2362e571 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/*Phone*/
.acf-field-5ddec9582e572 {
    -ms-flex: 0 0 33.3334%;
    flex: 0 0 33.3334%;
    max-width: 33.3334%;
}

/*Email*/
.acf-field-5ddec95f2e573 {
    -ms-flex: 0 0 33.3334%;
    flex: 0 0 33.3334%;
    max-width: 33.3334%;
}

/*Website*/
.acf-field-5ddec9662e574 {
    -ms-flex: 0 0 33.3334%;
    flex: 0 0 33.3334%;
    max-width: 33.3334%;
}

/*Logo*/
.acf-field-5ddec97f9d8a6 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

/*Description*/
.acf-field-5ddf8bc91cfcd {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}

.acf-input-wrap input {
    width: 100%;
    padding: 5px 15px;
}

.acf-form .acf-field {
    margin: 0 0 15px;
    padding-right: 15px;
    padding-left: 15px;
}

.acf-form .acf-label label {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 5px;
}

.acf-input textarea {
	width: 100%;
}


/* =Navbar
-------------------------------------------------------------- */
@keyframes animation-standard {
    from {

        height: auto;
        width: 100%;

    }
    to {

        height: auto;
        width: 140px;

    }
}


.sticky .navbar-brand img {
    animation: animation-standard .5s;
    animation-fill-mode: both
}

.navbar {
    background-color: #FFFFFF!important;
    transition: 0.3s !important;
    max-height: inherit;
    /*padding-bottom: 0;*/
}

.navbar-bottom {
  padding: 0!important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #212529 !important;
    position: relative;
}

#cssmenu > ul > li > a  {
	font-size: 17px !important;
	font-weight: 400 !important;
	padding: .9rem 1rem .5rem 1.5rem !important;
    color: #212529 !important;
}

#cssmenu > ul > li.menu-item-has-children > a  {
	padding: .9rem 1.5rem .5rem !important;
}

#cssmenu > ul > li.menu-item-has-children > a::after {
	top: 20px !important;
	right: 9px !important;
	width: 6px !important;
	height: 6px !important;
	border-bottom: 1px solid rgba(0,0,0,.5) !important;
	border-right: 1px solid rgba(0,0,0,.5) !important;
}

#cssmenu ul li:hover > ul > li {
	height: auto !important;
}

#cssmenu ul ul {
    padding-top: 5px;
}

#cssmenu #menu-button {
    color: #fff !important;
}

#cssmenu ul li.current_page_item a {
    color:#ee9246 !important;
}

#cssmenu ul li.current_page_item ul.sub-menu a {
    color: #212529 !important;
}

#cssmenu ul li.current-menu-ancestor a {
    color:#ee9246 !important;
}

#cssmenu ul li.current-menu-ancestor ul.sub-menu li a {
    color: #212529 !important;
}

#cssmenu ul li.current-menu-ancestor ul.sub-menu li.current_page_item a {
    color:#ee9246 !important;
}

#cssmenu ul ul li a {
    font-size: 17px !important;
    background: #fff !important;
    color: #212529 !important;
    text-align: left;
}

#cssmenu li:focus > ul {
    left: 0;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link:active,
.navbar-expand-lg .navbar-nav .nav-link:focus {
    color: #ee9246;
}

.navbar-expand-lg .navbar-nav .menu-item {
    padding: 0 10px;
}

.nav-link {
    font-size: 17px;
    font-weight: 400;
    padding: .9rem 1rem .5rem;
}


.navbar-expand-lg .navbar-nav .current-menu-item .nav-link {
    color: #ee9246;
}

.navbar .container {
  position: relative;
}

.navbar .dropdown-menu {
    border-radius: 0px 0px 5px 5px;
}

/* =MAX MEGA MENU
-------------------------------------------------------------- */
#mega-menu-wrap-primary {
    margin-left: auto !important;
}

/* =Navbar Icon
-------------------------------------------------------------- */
.navbar-brand {
  position: absolute;
  z-index: 9999;
  top: 0px;
  left: 15px;
}

.navbar-brand img {
  vertical-align: middle!important;
  /*transition: 0.3s;
  transition-delay: 0.2s;*/
  /* ^ Done dynamically in JS */
}

.navbar .navbar-upper-content img {
  height: 32px;
  width: 32px;
  display: inline-block;

}

.navbar .navbar-upper-content img {
    margin-left: 5px;
	padding: 1px;
}



.navbar .navbar-upper-content .language-icons {
  margin-left: 5px;
  display: flex;
  justify-content: space-between;
}

.navbar .navbar-upper-content .navbar-input-field {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 11em;
  margin-right: 0.5em;
  transition: 0.3s;
}

/*
.navbar .navbar-upper-content .navbar-input-field input{
  border-radius: 30px;
  border: 1px solid #CCCCCC;
  background: #FAFAFA;
  padding-left: 1em;
  position: relative;
  height: 105%;
  width: inherit!important;
}*/

.wp-searchform .input-group {
    border-radius: 30px;
    border: 1px solid #CCCCCC;
    background: #FAFAFA;
    max-width: 190px;
}

.wp-searchform .input-group .form-control {
    background-color: transparent;
    border: none;
    border-radius: 30px;
    padding-left: 20px;
}

.wp-searchform .input-group .form-control:focus {
    color: #495057;
    background-color: transparent;
    border-color: #ccc;
    box-shadow:none;
}
/*
.navbar .navbar-upper-content .navbar-input-field i {
    position: absolute;
    margin-left: -1em;
    margin-right: 1em;
    vertical-align: middle!important;
}*/

#header_button,
#footer_button {
    background-color:#3A5664;
    border-radius: 50px;
    border: none;
    padding: 0.6em 1.3em;
    transition: all 0.2s ease-in-out;
    position: relative;
    color: #fff;
    font-weight: 700;
}

#header_button:active, 
#header_button:focus, 
#header_button:hover, 
#footer_button:active, 
#footer_button:focus, 
#footer_button:hover {
    background-color: #588097;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}


.wp-block-button__link {
	background-color: #3A5664;
	font-size: 16px;
	font-weight: 700;
    padding: 8px 20px;
}


.wp-block-button__link:hover,
.wp-block-button__link:active,
.wp-block-button__link:focus {
	background-color: #588097;
    text-decoration: none;
}


/*
#header_button::before, #footer_button::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 1px;
  left: 0;
  background-color: #14A9E7;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
  transition-delay: 0.05s;
}

#header_button:hover a::before, #footer_button:hover a::before {
    visibility: visible;
    transform: scaleX(1)
}

#header_button a, #footer_button a {
    color: #fff;
    text-decoration: none;
}

#header_button:hover, #footer_button:hover {
    background-color: transparent;
}

#header_button:hover a, #footer_button:hover a {
    color: #14A9E7;
}*/

/* =Navbar Toggler
-------------------------------------------------------------- */
/*.navbar-toggle-button {
  position: fixed;
  top: 5em;
  right: 1em;
  z-index: 2;
}*/


.navbar-toggler {
    background: transparent;
    height: 1.8em;
    width: 1.8em;
    position: relative;
}

.navbar-toggler div {
    position: absolute;
    width: 60%;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease-in-out;
}

.navbar-toggler hr {
    display: flex;
    align-items: center;
    border-top: 2px solid #000000;
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 0;
    width: 100%;
    transition: all 0.4s ease-in-out;
}

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

/* =Navbar dropdown
-------------------------------------------------------------- */
.dropdown-item.active, .dropdown-item:active {
    color: #ee9246;
    background-color:transparent;
}

/* Navbar sticky version
-------------------------------------------------------------- */
body {
    padding: 100px 0 0 0;
}


/* Navbar Sticky Keyframes
-------------------------------------------------------------- */
@-webkit-keyframes StickyNavbarAnimation {
    0% {
        opacity: 1;
        /*margin-right: 0px;*/ /* Make elements slide to left when disappearing */
    }
    50% {
        opacity: 0;
        /*margin-right: 100px;*/ /* Make elements slide to left when disappearing */
    }
    100% {
        display: none !important;
        opacity: 0;
    }
}

.sticky {
    position: fixed;
    top: 0px !important;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
}

.sticky_disappear {
    animation-name: StickyNavbarAnimation;
    animation-delay: 200ms;
    animation-duration: 600ms;
    animation-fill-mode: both;
    -webkit-animation-name: StickyNavbarAnimation;
    -webkit-animation-delay: 200ms;
    -webkit-animation-duration: 600ms;
    -webkit-animation-fill-mode: both;
    -webkit-transform:translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    display: none !important;
}

/* =Main Image
-------------------------------------------------------------- */
.wpml-ls-legacy-list-horizontal {
    padding: 0;
}

.wpml-ls-legacy-list-horizontal a {
    padding: 0;
}

.wpml-ls-legacy-list-horizontal > ul {
    display: inline-flex;
}

/* =Main Image
-------------------------------------------------------------- */
.main-img-outer-container {
    height: 330px;
    position: relative;
    margin-top: 0em;
    text-align: center;
    margin-bottom: 40px;
}

.main-img {
    height: 330px;
}

.main-img ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    align-items: center;
    height: 330px;
}

.main-img ul li {
    flex-grow: 1;
    height: 330px;
}

.main-img ul li img {
    max-height: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.main-img-outer-container .overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.main-img-outer-container #main-img-bs-container-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
}

#main-img-bs-container-inner .row {
    width: 100%;
}

.main-img-outer-container h1 {
    color: #fff;
    margin: 0;
}

p.lead {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin: 0;
    font-weight: 400;
}

#pageContent p.lead {
    color: #212529;
}

.btn-group a {
    background-color: #F47538;
    border-color: #F47538;
    color: #fff;
    line-height: 1;
    border-radius: 4px;
    padding: 7px 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin: 0 10px;
    display: flex;
}

/* =Yoast SEO Breadcrumbs
-------------------------------------------------------------- */
p#breadcrumbs {
    color: #fafafa;
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 14px;
}

p#breadcrumbs a {
    color: #fafafa;
    font-weight: 700;
}

/* =Page thumbnail source
-------------------------------------------------------------- */
.image-source {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #fff;
    z-index: 1;
    font-weight: 700;
    max-width: 200px;
    text-align: right;
}


/* =Main-sidebar
-------------------------------------------------------------- */
.main-sidebar {

}

.main-sidebar div:first-of-type{
    box-shadow: 0px 3px 6px #0000001A;
    border-radius: 0px 0px 5px 5px;
    padding: 10px 20px 15px;
}

.main-sidebar .menu-primary-container #menu-primary{
    padding: 5px 0px 5px 1em;
}

.main-sidebar:first-child h4 {
    background-color: #14A9E7;
    color: #fff;
    padding-bottom: 0.6em;
    padding-top: 0.5em;
    padding-left: 1em;
    border-radius: 5px 5px 0px 0px;

    font-size: 18px;
    font-weight: bold;
}


.main-sidebar:not(:first-child) h4 {
    margin-bottom: 0.6em;
}

.main-sidebar:not(:first-child) {

}

.main-sidebar:not(:first-child) div:first-of-type {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    padding-top: 0.7em;
    padding-bottom: 0.4em;
}


.main-sidebar h4.widgettitle {
    background-color: #14A9E7;
    color: #fff;
    padding-bottom: 0.6em;
    padding-top: 0.5em;
    padding-left: 1em;
    border-radius: 5px 5px 0px 0px;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}


.wp-calendar-nav {
    display: none;
}

.main-sidebar:not(:first-child) div:first-of-type :first-child {

}

.main-sidebar h4 {
    margin-bottom: 0;
}

.main-sidebar ul{
    border: none;
    list-style: none;
    padding: 0;
    margin: 0;
}


/* =Footer
-------------------------------------------------------------- */
.footer {
    position: relative;
    min-height: 100px;
    padding-top: 0;
    padding-bottom: 50px;
    background: #3A5664;
}

.footer .row.text-center {
    /*background-color: red;*/
    margin-top: 3.5%;
}


.footer-icons-tab {
    background-color:#3A5664;
    position: absolute;
    left: 20.05%;
    right: 0;
    top: -14.5%;
    height: 100px;
}

.footer-icons-tab .row {
    height: 100%;
}

.footer-icons-tab img {
    width: auto;
    height: auto;
}

#footer_button {
    padding: 0.6em;
    text-decoration: none;
    width: 100%;
    display: block;
    text-align: center;
    background: #fff;
    color: #3A5664;
}

#footer_button:active, 
#footer_button:focus, 
#footer_button:hover {
    background-color: #ccc;
    color: #588097;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.footer p {
    margin-bottom: 20px;
}

.fullwidth-footer-container {
    background-color:#fff;
    padding: 20px 0;
    
}

/* =Footer Widgets
-------------------------------------------------------------- */
.footer .widgettitle {
    position: relative;
    margin: 0 0 20px;
}

.footer .widgettitle:before {
    /*border-bottom: 3px solid #14a9e7;*/
    content: "";
    position: absolute;
    bottom: -10px;
    height: 2px;
    width: 60px;
    background-color: #fff;
}

.footer .menu-etfl-main-menu-container {
    margin-top: 1.1em;
}

.footer .textwidget{
    margin-top: 1.1em;
}

.footer ul {
    list-style: none;
}

.footer ul li::before {
      content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
      color: #fff;;
      font-weight: bold;
      display: inline-block;
      width: 1em;
      margin-left: -1em;
}

.footer h4 {
    font-size: 1em;
    font-weight: bold;
    color:#fff;
}

.footer ol li,
.footer ul li,
.footer p {
    font-size: 16px;
    line-height: 1.5;
    color:#fff;
}

.footer a, .footer p a {
    color:#fff;
}



/* =Table
-------------------------------------------------------------- 
.wp-block-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.wp-block-table thead {
    width: 100%;
    display: table;
}

.wp-block-table tbody {
    width: 100%;
    display: table;
}

.wp-block-table tr {
    display: table-row;
    background: #fff;
}

.wp-block-table tr:hover {
    background: #fafafa;
}

.wp-block-table td, .wp-block-table th {
    padding: .75rem;
    vertical-align: top;
    display: table-cell;
    border-top: 1px solid #dee2e6;
} */

table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

th {
    text-align: inherit;
}

table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

table td, 
table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}



/* =Member card
-------------------------------------------------------------- */
.member-card {
    background-color: #fff;
    border:1px solid #eaebeb;
    border-bottom: none;
}

.member-card img {
    max-height: 70px;
    width: auto;
}

.member-card-container:first-child .member-card  {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.member-card-container:last-child .member-card  {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom: 1px solid #eaebeb;
}

.member-card h5 {
    color: #212529;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.member-card a {
    color: #212529;
    
}

/* =8-column-noCalendar
-------------------------------------------------------------- */
/*.noCalendar-8-column-container {
    padding-top: 3rem;
}*/

.noCalendar-8-column-container p {
    margin-bottom: 30px;
}

.noCalendar-8-column-container .wp-block-column ul {
    list-style: none;
    margin-left: 0.3em;
}

.noCalendar-8-column-container .wp-block-column ul li {
    margin-bottom: 0.2em;
}

.noCalendar-8-column-container .wp-block-column ul li::before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #14a9e7;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
/*
.noCalendar-8-column-container img {
    margin-bottom: 1em;
}*/

/* Login form container
-------------------------------------------------------------- */
#login_form_container {
    padding-top: 1rem;
}

#login_form_container input {
    background-color: #F2F6FC;
    border: 1px solid #ECEEF2;
    border-radius: 30px;
    padding: 10px 20px;
    width: 100%;
}

#loginform p > label {
    text-align: center;
    font-weight: 700;
    width: 100%;
}

#loginform p.login-remember > label {
    display: flex;
    text-align: center;
    color: #666;
    font-size: 14px;
    justify-content: center;
}

#loginform p.login-remember input {
    width: auto;
}

.login_form_wp {
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    padding: 60px 40px 40px;
    border-radius: 0.25em;
}

.form_text_content {
    text-align: center;
    margin-bottom: 40px;
}

#loginform {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

#loginform p.login-username {
    -ms-flex-order: 1;
    order: 1;
}

#loginform p.login-password {
    -ms-flex-order: 2;
    order: 2;
}

#loginform p.login-remember {
    -ms-flex-order: 4;
    order: 4;
}

#loginform p.login-submit {
    -ms-flex-order: 3;
    order: 3;
}

#loginform p.login-submit #wp-submit {
    background-color: #F47539;
    border-color: #F47539;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    padding: 10px 20px;
}

#loginform p.login-submit #wp-submit:hover,
#loginform p.login-submit #wp-submit:active,
#loginform p.login-submit #wp-submit:focus {
    background-color:#E46A31;
    border-color:#E46A31;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    padding: 10px 20px;
}

.form_text_content .fa-user-circle {
    font-size: 80px;
    color: #CED1D7;
    margin: 0 0 20px;
}

/* WPForms
-------------------------------------------------------------- */
.wpforms-page-indicator-steps {
    display: none;
}

div.wpforms-container-full .wpforms-form .wpforms-page-button {
    background-color: #F47538;
    border-color: #F47538;
    color: #fff;
    line-height: 1;
    border-radius: 4px;
    padding: 7px 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}



div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:active,
div.wpforms-container-full .wpforms-form .wpforms-page-button:focus {
    background-color: #E46A31;
    border-color:#E46A31; 
}

/* The events calendar
-------------------------------------------------------------- */
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {
    background-color: #F47539;
}

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
    color: #F47539;
}

.tribe-events .tribe-events-c-ical__link {
    background-color: #F47539;
    color: #fff;
    border: none;
    transition: 0.2s ease-in-out;
}

.tribe-events .tribe-events-c-ical__link:hover {
    opacity: 0.9;
    background-color: #F47539;
}

.tribe-events .tribe-events-c-ical__link::before {
    display: none;
}

#tribe-events-events-bar-keyword:focus {
    /*color: #F47539;*/
}

.tribe-events-c-search__button {
    transition: 0.2s ease-in-out!important;
}

.tribe-events-c-search__button:hover {
    opacity: 0.9;
    background-color: #F47539!important;
}

.single-tribe_events .tribe-events-event-meta dl {
    margin: 0;
    padding: 0;
}

/* Event registration
-------------------------------------------------------------- */
#rtec .rtec-register-button,
#rtec input[type="submit"] {
    background-color: #3A5664;
    border-radius: 50px;
    border: none;
    padding: 10px 45px;
    transition: all 0.2s ease-in-out;
    position: relative;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
}
#rtec .rtec-register-button:hover,
#rtec input[type="submit"]:hover {
    background-color: #588097;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.rtec-already-registered-reveal a {
    font-size: 14px;
    color: #444;
}

.rtec-modal .rtec-button-link.rtec-media-modal-close {
    border: none !important;
}

.rtec-button-link.rtec-media-modal-close:focus {
    outline: 2px solid #000 !important;
    outline-offset: unset !important;
}

#rtec:not(.rtec-use-modal) .rtec-register-button {
    padding-right: 60px !important;
}

.tribe-events-notices {
    background: #3A5664;
    border-radius: 4px;
    border: 1px solid #3A5664;
    color: #fff;
    margin: 10px 0 18px;
    padding: 10px 30px;
    text-shadow: none;
    font-weight: 700;
}

.tribe-events-notices ul li {
    color: #fff;
}

.rtec-already-registered-options > p {
    display: none;
}

/* Post Content
-------------------------------------------------------------- */
.post_content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

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

/* TOUREST
-------------------------------------------------------------- */
/*==== FADE IN RIGHT ===*/
@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

/*==== FADE IN UP ===*/
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

#Tourest {
    display: block;
    position: fixed;
    right: 0;
    top: 20%;
    z-index: 101;
}

#Tourest.activeBtn {
    display: block;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

#Tourest .btn-tourest {
    border-radius: 40px 0 0 40px;
    background: #fff;
}

#Tourest.activeBtn .btn-tourest {
    background: #00386c;   
}

#Tourest img {
	max-width: 150px;
	height: auto;
}

/* =ACF Minu konto
-------------------------------------------------------------- */
.acf-hidden {
    display: none;
}

/* =Media Queries
-------------------------------------------------------------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    .custom_width .grids-s-w_i::before {
        left: 1vw;
        right: 1vw;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    .main-img ul {
        justify-content: center;
    }
    
    #pageContent .ls-fullscreen-wrapper *  {
        min-height: unset !important;
    }
}

@media (max-width:768px) {
    .main-img ul {
        justify-content: center;
    }
    
    #pageContent .ls-fullscreen-wrapper *  {
        min-height: unset !important;
    }
}



@media only screen
and (max-width:768px)
and (min-width: 0px) {
    .footer-icons-tab {
        top: -9.5%;
        height: unset;
        min-height: 100px;
    }

    .footer-icons-tab img {
        max-width: 90px;
    }

    .footer .row.text-center {
        margin-top: 4em;
    }

    .footer .col-12 {
        padding-bottom: 1em;
    }

    p.lead {
        font-size: 16px;
    }

    h1, .h1 {
        font-size: 35px;
    }

    .main-img-bs-container-inner .row {

    }

    #navbarETFL {
        padding-top: 7em;
    }

    #navbarETFL .navbar-input-field {
      margin-bottom: 0.5em;
      width: 100%;
      height: 2.5em;
    }

    .custom_width .grids-s-w_i::before {
        left: 7px;
        right: 7px;
    }

    .grids-s-f25fbb87-9dd6-430a-a884-15fdc0909bfc .grids-s-w_i {
        padding-bottom: 200px!important;
    }
    .mega-wpml-ls-menu-item {
        display: block !important;
    }
}

@media (max-width:992px) {
    
    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
        z-index: 9998 !important;
    }
    
    body {
        padding: 90px 0 0;
    }
    
    .navbar-brand-active-menu img {
        animation: animation-standard .5s;
        animation-fill-mode: both
    }

    .navbar {
        padding: 40px 1rem 15px;
    }

    .navbar .container {
        position: unset;
    }

    .navbar-brand {
        position: absolute;
        z-index: 9999;
        top: 10px;
        left: 15px;
    }

    #navbarETFL {
        padding-top: 0;
    }

    #navbarETFL .navbar-input-field {
        margin-bottom: 0.5em;
        width: 100%;
        height: 2.5em;
    }

    .footer-icons-tab {
        height: 100px;
        left: 0;
        right: 0;
    }

    .footer-icons-tab img {
        max-width: 80px;
    }

    .custom_width .grids-s-w_i::before {
        left: 45px;
        right: 45px;
    }

    .grids-s-f25fbb87-9dd6-430a-a884-15fdc0909bfc .grids-s-w_i {
        padding-top: 50px;
        padding-bottom: 0px;
    }

    .navbar {
        padding: 15px 1rem 15px;
    }
    
    #Tourest {
        top: unset;
        z-index: 101;
        bottom: 5%;
    }
    
    .btn.btn-tourest {
        width: 120px;
    }
    
    #Tourest img {
        max-width: 100%;
        height: auto;
    }
    
    .dropdown-item {
        text-align: center;
    }
    
    #header_button {
        min-width: 200px;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        background: #fafafa;
        text-align: center;
    }
}

@media only screen
and (max-width: 1199px)
and (min-width: 991px) {
    .footer-icons-tab img {
        max-width: 120px;
    }
    
}

@media (max-width:769px) {
    .custom_width .grids-s-w_i::before {
        left:0;
        right: 0;
    }
    .mega-wpml-ls-menu-item {
        display: block !important;
    }
}

@media (max-width:575px) {
    .footer .widgettitle::before {
        display: none;
    }
    
    .footer .widgettitle {
        margin: 0 0 10px;
    }
    
    .footer ol, .footer ul {
        margin: 0 0 0 0;
    }
    
    .footer ul li::before {
        content: unset;
    }
    
    /* =Search and Filter Pro
    -------------------------------------------------------------- */
    .searchandfilter ul li.sf-field-search {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .searchandfilter ul li.sf-field-taxonomy-meie-liikmed {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .searchandfilter ul li.sf-field-submit {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .searchandfilter ul li.sf-field-taxonomy-liikmed-liik {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
