/*
 Theme Name:   Rowling Child
 Description:  Rowling Child Theme for ATN
 Author:       Carlo Tagliapietra
 Template:     rowling
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  rowlingchild
*/

/* START Pure CSS Animated Clock */
header .section-inner {
  position: relative;
}
.header-clocks {
    position: absolute;
    bottom: 0;
    right: 0;
}

.header-slim {
  margin-top: -30px;
  margin-bottom: -30px;
}

.clock-container {
  text-align: center;
  float: right;
  margin-left: 10px;
}

.clock {
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  border: 5px solid white;
  border-radius: 50%;
  margin: 0 auto;
  transform: rotate(-90deg);
}
.clock:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background: #8bbbb0;
  border: 5px solid #8bbbb0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
  
.clock .hours, .clock .minutes, .clock .seconds {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.clock .hours:after, .clock .minutes:after, .clock .seconds:after {
  content: "";
  display: block;
  margin: 50% 50%;
  width: 50%;
  transform-origin: left top;
  -webkit-animation: clock linear infinite;
          animation: clock linear infinite;
}

.clock .hours:after {
  width: 30%;
  outline: 2px solid #8bbbb0;
  -webkit-animation-duration: 86400s;
          animation-duration: 86400s;
}

.clock .minutes:after {
  width: 40%;
  outline: 2px solid #8bbbb0;
  -webkit-animation-duration: 3600s;
          animation-duration: 3600s;
}
  
.clock .seconds:after {
  width: 47%;
  outline: 1px solid #8bbbb0;
  -webkit-animation-duration: 60s;
          animation-duration: 60s;
}
.clock-container .caption {
  margin: 10px 0 0 0;
  font-size: inherit;
  font-weight: bold;
  text-align: center;
  color: #757575;
}


@media(max-width:1050px) {

  .clock {
    width: 65px;
    height: 65px;
    border-width: 3px;
  }

  .clock::after {
    border-width: 4px;
  }


  .clock-container .caption {
    font-size: .71em;
  }

}


@media(max-width:850px) {
  .header-clocks {
      display: none;
  }
}

@-webkit-keyframes clock {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes clock {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* BEGIN section 
*/
.top-nav .section-inner {
  position: relative;
}

@media (max-width: 850px) {
  .header-top-menu {
      display: none;
  }

}
/* EMD section 
*/

.social-menu {
	float: right;
	clear: left;
	width: initial;
}

/* BEGIN post content */
article.type-post .post-content p {
  text-align: justify;
}
/* END post content */

/* BEGIN image capion justify */
figure.wp-block-image figcaption {
  text-align:justify;
}
