/**
 * @file
 * Visual styles for Confea Theme layout.
 */

/*Regions Layout*/
.white-region {
  padding: 30px 0;
}
.light-gray-region {
  padding: 60px 0 30px 0;
}
.colored-region {
  padding: 40px 0;
}
.white-region + .white-region:not(.highlighted-bottom):not(.subfooter):not(.footer-top):not(.footer),
.colored-region:not(.dark) + .colored-region:not(.dark):not(.highlighted-bottom):not(.subfooter):not(.footer-top):not(.footer),
.colored-region.dark + .colored-region.dark:not(.highlighted-bottom):not(.subfooter):not(.footer-top):not(.footer),
.light-gray-region + .light-gray-region:not(.highlighted-bottom):not(.subfooter):not(.footer-top):not(.footer),
.light-colored-region + .light-colored-region:not(.highlighted-bottom):not(.subfooter):not(.footer-top):not(.footer),
body:not(.video-bg-active):not(.parallax-active) .white-region + .white-region.highlighted-bottom,
body:not(.video-bg-active):not(.parallax-active) .colored-region:not(.dark) + .colored-region:not(.dark).highlighted-bottom,
body:not(.video-bg-active):not(.parallax-active) .colored-region.dark + .colored-region.dark.highlighted-bottom,
body:not(.video-bg-active):not(.parallax-active) .light-gray-region + .light-gray-region.highlighted-bottom,
body:not(.video-bg-active):not(.parallax-active) .light-colored-region + .light-colored-region.highlighted-bottom {
  padding-top: 0!important;
}
.colored-region.black {
  background-color: #1f1f1f;
}
.subfooter.colored-region.black {
  background-color: #252525;
}
.light-gray-region {
  background-color: #e9e9e9;
}
.footer-top.white-region {
  border-top: 1px solid #4a89d3;
}
.footer-top.light-gray-region {
  background-color: #dcdcdc;
}

/*accessibility bar*/
#accessibility-bar {
  padding: 0;
  font-size: .78rem;
  font-weight: bold;
}
#accessibility-bar #scroll > div {
  height: 30px;
  overflow-y: hidden;
  overflow-x: auto;
  position: relative;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
#accessibility-bar .scroll a {
  display: inline-block;
  position: relative;
  padding-right: 30px;
}
#accessibility-bar .scroll a .number {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  padding-top: 1px;
  margin-left: 10px;
  float: right;
  position: absolute;
  top: 0;
  right: 0;
}
#accessibility-bar #scroll .scroll {
  margin-right: 20px;
  display: inline-block;
}
#accessibility-bar #scroll .next {
  position: absolute;
  right: 10px;
  top: 8px;
}
@media (min-width: 624px) {
  #accessibility-bar #scroll .next {
    display: none;
  }
}
#accessibility-bar #scroll {
  float: left;
}
@media (max-width: 624px) {
  #accessibility-bar #scroll {
    width: 100%;
  }
}
#accessibility-bar #accessibility {
  float: left;
  margin-right: 25px;
}
#accessibility-bar #accessibility a {
  margin-right: 15px;
}
#accessibility-bar #lang a {
  margin-right: 15px;
}
#accessibility-bar #lang a:last-child {
  margin-right: 0px;
}
@media (max-width: 991px) {
  #accessibility-bar {
    height: auto;
    padding-bottom: 5px;
  }
  #acessibility-bar .row {
    margin-bottom: 5px;
  }
  #accessibility-bar #scroll {
    margin-top: 10px;
  }
}

/*Header Top*/
#header-top {
  margin-bottom: 15px;
}

/*header layout*/
.header-container {
  padding: 0;
}
.header-container .block {
  margin: 0;
}
.header-inside {
  position: relative;
}
.header-inside-first {
  padding: 0 0 10px 0;
}
.header-inside-second {
  padding: 0 0 20px 0;
}
.main-navigation {
  height: 45px;
  background-color: #e8e8e8;
}
.main-navigation nav {
  display: inline-block;
  width: 100%;
}
.main-navigation ul.menu li a {
  font-size: 1.07rem;
  font-weight: bold;
  text-decoration: none;
}

.header-top-area .menu {
  /* overflow-x: auto; */
  /* white-space: nowrap; */
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 490px) {
  .header-top-area .menu:after {
    content: "\f061";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 7px;
    width: 15px;
    z-index: 999;
  }
}

.header-area .fonts {
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: right;
}
.header-area .fonts span {
  cursor: pointer;
  font-weight: bold;
  margin-right: 5px;
  padding: 5px;
  transition: all .3s ease;
  -moz-transition: all .3s ease;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  -ms-transition: all .3s ease;
}
#default-font-size {
  padding: 5px 9px;
}
#decrease-font-size {
  padding: 5px 7px;
}

@media (min-width:992px) {
  #accessibility-bar-inside {
    padding-top: 11px;
  }
  #header {
    height: 130px;
  }
  .search-area {
    float: right;
    padding: 1px 10px 0 0;
  }
  .main-navigation.with-search-bar {
    padding-right: 30px;
  }
}
@media (min-width: 992px) {
  #accessibility-bar {
    height: 45px;
  }
  #header-top {
    height: 45px;
    margin-bottom: 0;
  }
}
@media (min-width:1200px) {
  .main-navigation.with-search-bar {
    padding-right: 60px;
  }
}
@media (max-width: 991px) {
  .header-inside {
    padding: 0 0 30px;
  }
}

#block-confeatheme-page-title h2 span {
  text-transform: none;
}

.main-content {
  padding: 10px 0 30px;
}
.content h2.title {
  margin: 0;
}
.path-frontpage .page {
  padding: 0;
}
.page {
  padding: 30px 0 0;
}
.path-frontpage .top-content {
  padding-top: 65px;
}
.path-frontpage .region-content {
  padding: 20px 0 0px;
}
.path-frontpage .region-sidebar-second,
.path-frontpage .region-sidebar-first {
  padding: 36px 0 0px;
}
.content-top-highlighted {
  padding: 40px 0 0;
  position: relative;
}
.content-top-highlighted:before {
  position: absolute;
  content: "";
  top: 0px;
  line-height: 1;
  left: 50%;
  margin-left: -20px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top-width: 20px;
  border-top-style: solid;
  border-top-color: transparent;
}
.content-top-highlighted:after {
  position: absolute;
  content: "";
  bottom: -20px;
  line-height: 1;
  left: 50%;
  margin-left: -20px;
  z-index: 4;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top-width: 20px;
  border-top-style: solid;
  border-top-color: transparent;
}
.white-region + .content-top-highlighted:before {
  border-top-color: #fff;
}
.light-gray-region + .content-top-highlighted:before {
  border-top-color: #e9e9e9;
}
.colored-region.black + .content-top-highlighted:before {
  border-top-color: #101010;
}
.light-gray-region.content-top-highlighted:after {
  border-top-color: #e9e9e9;
}
.white-region.content-top-highlighted:after {
  border-top-color: #ffffff;
}
.colored-region.black.content-top-highlighted:after {
  border-top-color: #101010;
}
body:not(.path-frontpage) .content-top-highlighted {
  margin-bottom: 40px;
}
.highlighted {
  padding-top: 40px;
  position: relative;
}
.white-region + .highlighted:before {
  border-top-color: #fff;
}
.light-gray-region + .highlighted:before {
  border-top-color: #e9e9e9;
}
.colored-region.black + .highlighted:before {
  border-top-color: #101010;
}
.light-gray-region.highlighted:after {
  border-top-color: #e9e9e9;
}
.white-region.highlighted:after {
  border-top-color: #ffffff;
}
.colored-region.black.highlighted:after {
  border-top-color: #101010;
}
.highlighted-bottom {
  width: 100%;
  padding: 105px 0 85px;
  position: relative;
}
.highlighted-bottom.white-region {
  background-color: #ffffff;
}
.highlighted-bottom-inside {
  position: relative;
  z-index: 3;
}
.bottom-content {
  padding: 30px 0 0 0;
}
.creas {
  padding: 30px 0 50px 0;
}
.creas-area .view-content {
  border-radius: 15px;
  padding: 15px 30px;
  text-align: center;
}
.creas-area .view-content .views-row {
  display: inline-block;
}
.creas-area .view-content .views-row:last-child a {
  border-right: none;
}
.creas-area .view-content a {
  display: inline;
  font-size: 1.28rem;
  font-weight: bold;
  padding: 0 10px;
}
@media (max-width: 767px) {
  .creas-area .view-content .views-row:nth-child(21) {
    margin-left: 0;
  }
}
.creas-area img {
  margin-left: 5%;
}

.counter-wrapper {
  text-align: center;
  margin-top: 50px;
}
@media (min-width: 992px) {
  .counter-wrapper {
    margin-top: 154px;
  } 
}
.counter-wrapper img {
  vertical-align: baseline;
  margin: 0 15px;
}
.counter {
  display: inline-block;
  text-align: center;
}
.counter #counter {
  letter-spacing: 5px;
  font-weight: bold;
  font-size: 38px;
}
.counter p {
  text-transform: uppercase;
  font-size: 1.71rem;
}

#highlighted .views-field-field-icone {
  height: 100px;
  float: left;
  padding: 0 25px;
  padding-top: 20px;
}
.shortcut-wrapper {
  border-radius: 25px;
  height: 100px;
  margin-bottom: 30px;
  position: relative;
}
.shortcut-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.shortcut-title {
  font-size: 1.28rem;
  text-align: center;
  text-transform: uppercase;
}
.shortcut-title div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-10%, -50%);
  -moz-transform: translate(-10%, -50%);
  -o-transform: translate(-10%, -50%);
  -webkit-transform: translate(-10%, -50%);
  -ms-transform: translate(-10%, -50%);
  transition: none;
}

/*Calendar*/
.calendar-area .views-row {
  padding: 20px 5px;
  border-top: 2px solid #bbbbbb;
}
.creas-area .view-content a {
  font-weight: bold;
  display: inline;
  padding-right: 10px;
}
.calendar-area .views-row:nth-child(even) {
  background-color: #eeeeee;
}
.calendar-area .views-row:last-child {
  border-bottom: 2px solid #bbbbbb;
}
.event-title {
  font-size: 1.28rem;
  padding-left: 10px;

}
.event-date {
  display: inline-block;
  float: left;
  font-size: 1.28rem;
  font-weight: 600;
  padding-right: 10px;
  text-transform: uppercase;
}

/* Videos */
.player {
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
  width: 100%;
}
.player-link {
  margin-top: 20px;
  font-size: 1.14rem;
  text-align: right;
  text-transform: uppercase;
}
.player-link .text {
  margin-right: 10px;
}
.player-link a:hover {
  text-decoration: underline;
}

.footer-top {
  min-height: 150px;
  padding: 0 !important;
}
.footer-top-first {
  padding: 36px 0px;
}
.footer-top-second {
  padding-top: 15px;
}
.footer {
  padding: 35px 0;
}
.subfooter {
  padding: 0px;
  line-height: 5px;
}

/*Footer columns clear*/
@media (min-width:768px) {
  .footer > .container > .row > .col-sm-6:nth-child(2n+1) {
    clear: both;
  }
}
@media (min-width:992px) {
  .footer > .container > .row > .col-sm-6.col-md-3:nth-child(2n+1) {
    clear: none;
  }
  .footer > .container > .row > .col-sm-6.col-md-2:nth-child(2n+1) {
    clear: none;
  }
}

/*Sidebars paddings*/
@media (min-width:1200px) {
  .fix-sidebar-second {
    padding-left: 65px;
  }
  .fix-sidebar-first {
    padding-right: 65px;
  }
}

/*Regions*/
/*Colored Region*/
.colored-region,
.colored-region.black {
  color: #ffffff;
}
.colored-region .subfooter-area {
  color: #ffffff;
}
.colored-region a {
  color: #ffffff;
}
.colored-region a:hover {
  text-decoration: none;
}
.colored-region:not(.black) a:focus {
}

/*Footer*/
.footer-area {
  font-size: 1rem;
}
@media (max-width:767px) {
  .footer-area {
    text-align: center;
  }
}

/*Subfooter*/
#subfooter {
  border-top: 1px solid #ffffff;
}
#subfooter .container {
  margin-top: 1.5rem;
}
.subfooter-area {
  font-size: 1rem;
}
.subfooter-area p {
  line-height: 18px;
  padding: 0;
}
@media (min-width: 768px) {
  #subfooter {
    min-height: 135px;
  }
}
@media (max-width: 991px) {
  .header-area .fonts {
    text-align: center;
  }
  .subfooter-area {
    text-align: center;
  }
}

/*Subfooter Second*/
#subfooter-second {
  padding-top: 23px;
}
#subfooter-second .container {
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  #subfooter-second {
    min-height: 120px;
  }
}

/*Layout Mode*/
.boxed .banner-area {
  overflow: hidden;
}
@media (min-width:768px) {
  .boxed .page-container {
    margin-right: auto;
    margin-left: auto;
    position: relative;
    background-color: #fff;
    border-left: 1px solid #c2c2c2;
    border-right: 1px solid #c2c2c2;
    border-bottom: 1px solid #c2c2c2;
  }
  .boxed .page-container,
  .onscroll.boxed .page-container .header-container > .header {
    width: 750px;
  }
}
@media (min-width:992px) {
  .boxed .page-container,
  .onscroll.boxed .page-container .header-container > .header {
    width: 970px;
  }
}
@media (min-width:1200px) {
  .boxed .page-container,
  .onscroll.boxed .page-container .header-container > .header {
    width: 1170px;
  }
}
