/*
Theme Name:     Dots
Theme URI:      
Description:    Twentyseventeen child theme.
Author:         Me
Author URI:     
Template:       twentyseventeen
Version:        0.1.0
*/

.jena-logo {
	max-width:220px;
	}

/* FONTS */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: local('Cormorant Garamond Regular'), local('wp-content/themes/dots/fonts/CormorantGaramond-Regular'), url(https://fonts.gstatic.com/s/cormorantgaramond/v5/EI2hhCO6kSfLAy-Dpd8fdz_Dq57Lo4snLFwBvsf35Hk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
    }


@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  src: local('Amatic SC Regular'), local('wp-content/themes/dots/fonts/AmaticSC-Regular'), url(https://fonts.gstatic.com/s/amaticsc/v11/DPPfSFKxRTXvae2bKDzp5FtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
    }

@font-face {
  font-family: 'uthman';
  font-style: normal;
  src: url(fonts/uthman.otf);  

    }

/*END FONTS*/

.site-content, .site-content-contain, .site-footer, .navigation-top {
    background-color: #f9f9f9;
    }


/* HEADER */

p.site-title::after, h1.site-title::after { 
  background: left 0 url(img/dots.png) no-repeat transparent;
    content: "";
    padding-right: 100px;
    padding-bottom: 60px;
    }

.site-title, .site-title a {
  color: #33cccc;
  font-family: 'Lato', uthman, sans-serif;
    }

.site-description {
  font-weight: 100;
  font-family: 'Amatic SC', uthman;
  font-size: 28px;
    }

.site-branding {
    padding: 1em;
    }

.site-content {
    padding: 1.5em 0 0;
    }

.navigation-top {
    height: 40px;
    }

.navigation-top .wrap {
    padding: 0;
    }

#timeline {
    margin-top: 20px;
    }

.overview {
    padding: 10px 0;
    }

.archive .overview {
    display: inline-block;
    width: 65%;
    }

/* END HEADER */


/* NAVIGATION  */

.navigation-top {
	height: 50px;
/*	border-top: 1px solid #660033;*/
    border-top: 1px solid black;
	border-bottom: 2px solid black;
    }

.main-navigation a {
  padding: 0 0.6em;
    }

.navigation-top a {
  font-family: 'Amatic SC', uthman, sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #38c;
    }
.navigation-top a:hover {
    color: #059;
    }

.menu-item-wpml-ls-4-de {
/*    padding: 0 1.2em 0 2em;*/
    }

#menu-item-wpml-ls-4-ar {
    /*display: none;*/
}

.wpml-ls-item {
    padding: 0 5px;
}

.wpml-ls-item a {
    color: #c2c2c2;
    padding: 0;
    }
.wpml-ls-item a:hover {
    color: #333;
    }
.wpml-ls-current-language a {
    color: #38c;
    }
.wpml-ls-current-language a:hover {
    color: #c2c2c2;
    }

/* END NAVIGATION  */

/* MENU SEARCH */
.spicewpsearchform{
    display: block;
    width: 500px;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 1px;
    z-index: 9999;
    background: #2fcdcd;
    padding: 5px 10px 10px;
    border: unset;
}
.spicewpsearchform input[type="text"] {
    width: 78%;
    height: auto;
    border: 1px solid #5ca2df;
    padding: 11px 12px;
    border-radius: 0px !important; 
    }
.priza .spicewpsearchform input[type="search"] {
    border: 3px solid #fff;
    padding: 10px;
    }
.priza .spicewpsearchform input[type="submit"]:not(:hover):not(:active):not(.has-background),
.priza .spicewpsearchform input[type="submit"] {
    line-height: 1;
    padding: 14px 20px;
    border-radius: 0px;
    height: auto;
    font-size: 15px;
    display: inline-block;
    border: 3px solid #046897;
    }
.priza .spicewpsearchform input[type="submit"]:not(:hover):not(:active):not(.has-background),
.priza .spicewpsearchform input[type="submit"] {
    border: 3px solid #0333;
    }
.priza .spicewpsearchform input[type="search"]:focus {
    border: 3px solid #333;
    }
.spicewpsearchform:before {
    border-color: transparent transparent #2fcdcd;
    border-style: solid;
    border-width: 0.5em;
    content: "";
    display: block;
    position: absolute;
    right: 25px;
    top: -12px;
    z-index: 10;
    }

/**Css for image search icon**/
.spicewpsearch_icon {
   background-image: url('img/search-icon.png');
   background-repeat: no-repeat;
   padding: 0 0 0 28px;
   background-position: 5px center;
   background-color: #64a1d2;
   background-size: 18px 18px;
}
.spicewpsearch_icon:hover {
   background-color: #ccc;
   cursor: pointer;
}
.search.has-sidebar:not(.error404) #primary {
	width: 100%;
	float: unset;
	}
.search .site-main > article {
    padding-bottom: unset;
	margin: 4em 0;
	}
.search-no-results #page {
	background: #f9f9f9;
	}
.search-no-results .site-content {
	margin: 6em 0;
	}

.search .link-more {
	display: none;
	}

/* end:MENU SEARCH */

/* MAIN PAGE BODY */

body.page-two-column:not(.archive) #primary .entry-header {
	float: right;
	width: 25%;
    }

body.page-two-column:not(.archive) #primary .entry-content {
	float: left;
	width: 100%;
	text-align: justify;
    padding-left: 0px;
    }

.page-id-12 #primary .entry-content,
.page-id-703 #primary .entry-content {
	float: left;
	width: 60% !important;
	text-align: justify;
    padding-left: 27px;
    }


.panel-content .wrap {
  padding-top: 4em;
  padding-left: 1em;
  padding-right: 0em;
    }

@media screen and (max-width: 768px) {

  body.page-two-column:not(.archive) #primary .entry-header {
    float: right;
    width: 100%;
  }

  body.page-two-column:not(.archive) #primary .entry-content {
    width: 100%;
  }

  .navigation-top {
    z-index: 40;
  }

  .front-sidebar {
    float: right;
    width: 62%;
    clear: right;
  }

}


/* END MAIN PAGE BODY */


/* FOOTER */

.site-footer .widget-area {
  padding-bottom: 0px;
  padding-top: 0px;
    }

.site-footer {
	margin-top: 0px;
    }

.site-footer .wrap {
    }

.site-footer .widget-column.footer-widget-1 {
    width: 100%;
    }

.site-info {
  font-size: 11px;
    }

.footer-p {
  float: left;
  padding-right: 10px;
    }

#text-2 {
  /*max-width: 500px; */
    }

#text-2 img {
  max-width: 180px;
  max-height: 50px;
  padding-right: 10px;
    }

/* END FOOTER */


/* TEMP HOME PAGE SIDEBAR */

.front-sidebar {
  float: right;
  width: 27%;
  clear: right;
    }

.front-sidebar {
  border: 1px solid #666;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: #E1E1E1;
  font-family: Cormorant Garamond, uthman, serif;
  padding: 15px;
  margin-bottom: 30px;
    }

.front-dynamic-sidebar {
    /*min-height: 726px;*/
    display: block;
    float: right;
    width: 260px;
    }

.front-sidebar:hover {
    box-shadow: 0px 0px 7px 1px rgba(0,0,0,1);
    }

.front-dynamic-sidebar span {
    position: relative;
    top: 40%;
    }

.front-dynamic-sidebar .wrap {
    width: 260px;
    float: right;
    padding: 20px 0;
    }

.front-dynamic-sidebar .wrap .textwidget,
.front-dynamic-sidebar .widget-text {
	padding-top: 0;
	padding-left: 0;
    }

.front-dynamic-sidebar .textwidget{
    display: block;
    max-width: 260px;
    float: right;
    font-size: 0px;
    }

.front-dynamic-sidebar .widget_text {
    display: block;
    max-width: 260px;
    float: right;
    font-size: 0px;
    }

.front-dynamic-sidebar .textwidget:hover {
    border: 1px solid #666;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
    font-size: 0.9rem;
    font-family: "Libre Franklin", "Helvetica Neue", uthman, helvetica, arial, sans-serif;
    background:#e1e1e1;
    color:#000;
    height: 260px;
    text-align: center;
     padding: 0px 10px;
    }

, .front-dynamic-sidebar .custom-html-widget:hover, .front-dynamic-sidebar .widget-text .textwidget:hover {
	border: 1px solid #666;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
    font-size: 0.9rem;
    font-family: "Libre Franklin", "Helvetica Neue", uthman, helvetica, arial, sans-serif;
    background:#e1e1e1;
    color:#000;
    height: 260px;
    text-align: center;
     padding: 0px 10px;
    }

.front-dynamic-sidebar .textwidget:hover  img{
    display:none;
    height: 260px;
    }

.front-dynamic-sidebar .custom-html-widget:hover  img{
    display:none;
    height: 260px;
    }

.front-dynamic-sidebar a {
	text-decoration:underline;
    }

.front-dynamic-sidebar a:hover {
	color:#fff;
    }

.front-dynamic-sidebar span {
   }

.twentyseventeen-front-page .site-content {
    height: auto;
    }

/* END TEMP HOME PAGE SIDEBAR */


/* FRONT PAGE BOTTOM GRAPHICS  */

.home .panel-content .wrap {
    padding-bottom: 0px;
    }

.home .panel-content {
    background: url("https://www.connecting-the-dots.org/wp-content/uploads/2018/03/illustration_hands_mirrowed-230x300.png") no-repeat left;
    }

/* END FRONT PAGE BOTTOM GRAPHICS  */


/* PAGES SIDE GRAPHICS  */

.img12-l {
  float: left;
  width: 350px;
    }

.img12-r {
	height: 149px;
	padding-left: 122px;
	display: block;
    }

.img21 {
    }

    .img22, .img23 {
    margin: 0 auto;
    display: inherit;
    width: 750px;
    }

/* END PAGES SIDE GRAPHICS  */


/* PLAY PAGE IMG*/

/*
.img20 {
    margin-top: -300px;
    position: relative;
    margin-bottom: 1px;
    }
*/
.content-area.quotes-area {
    background: url(https://www.connecting-the-dots.org/wp-content/uploads/2017/12/Illustrationen_05.resized-1024x448.png) no-repeat;
    background-size: 100%;
    background-position-y: 145px;
    padding-bottom: 20px;
    min-height: 500px;
    }

.page-id-20 .content-area.quotes-area {
    background-position-y: 200px;
    }
    
.page-id-20 .content-area.quotes-area,
.page-id-727 .content-area.quotes-area {
    padding-bottom: 23em;
    }

.page-template-play-page #main {
    padding-top: 3em;
    }


.page-template-play-page #main {
    padding-top: 3em;
    }

.dots-font.dots-h1.play-header {
    width: 38%;
    display: inline-block;
    text-align: center;
    }

.quotes-area #quotes-cats {
    width: 60%;
    float: right;
    }

/*TEMP TILL we Make the new timeline*/
#quotes-cats h1:first-of-type {
/*    display: none;*/
    }

/* END PLAY PAGE IMG*/

.page-id-23 #content {
  padding-bottom: 0px !important;
    }


/* PLAY PAGE  */
main {
  overflow: hidden;
    }

.notice-play {
	background: #fff;
	color: #33cccc;
	}

.tax-quote_category .site-main {
    padding-bottom: 50px;
    }

.wrap.full {
  max-width: 100%;
  padding: 10px 100px;
    }
.dots-font {
  font-family: 'Amatic SC', uthman, sans-serif;
    }
.dots-h1 {
  font-size: 30px;
  font-weight: 400;
    }
.dots-h2 {
  font-size: 23px;
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
  margin: 5px 0;
  padding: 0;
    }

.dots-h3, .back_link a {
  font-size: 17px;
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
  margin: 5px 0;
  padding: 0;
    }

.back_link a:hover{
    color: green;
    }

.dots-h1 span {
  font-size: 18px;
  opacity: .8;
    }

.dots-h1 a:hover {
  color: green;
    }

.dots-play-intro {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    }

.archive h1 {
    padding: 0;
    display: inline-block;
    width: 24%;
    }

.popup-inner h1 {
    width: 100%;
    }

.back_link {
    text-align: right;
    display: inline-block;
    width:10%;
    }

.played-so-far-area {
  padding-bottom: 40px; 
    }
.played-so-far-area .dots-h2 {
  display: block;
    }
#quotes {
  position: relative;
  height: 90%;
  width: 100%;
  min-height: 400px;
  transition: all 200ms ease-in;
  -moz-user-select: none;
    }
.handle {
  -moz-user-select: all;
    }
.quote {
  width: 350px;
  font-size: 14px;
  margin: 4px;
  height: auto;
  position: absolute;
  top: 0;
  z-index: auto; 
  padding: 16px 16px  0  16px;
  box-sizing: border-box;
  transition: opacity 200ms ease-in, top 500ms ease-out, left 100ms ease-out;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px -5px 5px;
/*  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;*/
    }

.quote.max-height .q-content {
  max-height: 350px;
  overflow-y: scroll; 
  padding-right: 30px;
    }
.quote .handle {
  width: 60px;
  height: 60px;
  position: absolute;
  bottom: -30px;
  right: 2px;
  border-radius: 50%;
  background-color: rgba(135,206,250, 0.3);
  z-index: 9;
  opacity: 0;
    }
@keyframes blinker {  
  from {opacity: 1; transform: scale(0);}
  to {opacity: 0; transform: scale(1);}
    }
.quote:hover .handle {
  animation: blinker 600ms linear 1;
    }
#quotes-cats {
  margin-bottom: 60px;
    }
.text {
  line-height: inherit;
  padding: 5px;
    }
.circle {
  width: 28px;
  height: 28px;
  margin: 5px;
  display: inline-block;
  background-color: #eee;
  border-radius: 100%;
  line-height: 28px;
  text-align: center;
  font-size: 12px;
  vertical-align: middle;
    }
.circle.correct {
  background: center center url(img/tick.png) no-repeat #33cccc;
    }
.circle.wrong {
  background: center center url(img/x.png) no-repeat #ea9eef;
/*  background: center center url(img/x.png) no-repeat #ff6666;*/
    }
.overview .circle.correct, .overview .circle.wrong {
  cursor: pointer;
    }
.quote::after {
  background: right 0 url(img/quote.svg) no-repeat transparent;
  position: absolute;
  content: "";
  width: 100%;
  height: 33px;
  right: 0;
    }
#popup-quote-category {
  display: block;
    }
.playagain {
  cursor: pointer;
    }
.center {
  text-align: center;
  width: 100%;
    }
.inline {
  display: inline-block;
  margin-right: 20px;
  padding-top: 0; 
    }
.popup {
  display: none;
  position: fixed;
  z-index: 10000;
  background-color: rgba(0,0,0,0.6);
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
    }
.popup .text a {
  color: green;
    }
.popup .text a:hover {
  color: green;
  text-decoration: underline;
    }
.popup .info, .popup .text {
  display: table-cell;
  vertical-align: top;
  word-break: break-word;
    }
.popup .info {
  vertical-align: text-bottom;
  width: 100px;
  text-align: left;
  color: green;
  border-bottom: 2px solid #eee;
    }
.popup-inner-scroll {
  max-height: calc(100vh - 300px);
    }
.overflow {
  overflow-y: scroll;
    }
.control {
  position: absolute;
  top: 45%;
  width: 70px;
  height: 70px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
  z-index: 99;
    }
.control.previous {
  left: 20px;
  background: center center url('img/left.png') no-repeat #fff;
    }
.control.next {
  right: 20px;
  background: center center url('img/right.png') no-repeat #fff;
    }
.popup-inner {
  position: fixed;
  background-color: #fff;
  padding: 20px;
  width: 50%;
  top: 10%;
  left: 25%;
  box-shadow: 0 0 20px rgba(0,0,0,.6);
    }
.popup .dots-h2.closepopup, .popup .dots-h2.closerevisetedpopup {
  display: block;
  text-align: center;
  background-color: #eee;
  border-radius: 3px;
  display: block !important;
  width: 100% !important;
    }
.closepopup, .closeendpopup, .closerevisetedpopup {
  cursor: pointer;
    }
.the-end {
  background-color: green;
  color: #fff !important;
    }
.the-end a {
  color: #fff !important; 
    }
#popup-quote-end{
  display: none;
    }
#popup-quote-end .popup-inner {
  width: 400px !important;
  background-color: green;
  color: #fff;
  left: calc(50% - 200px);
    }
#popup-quote-end .popup-inner h2, #popup-quote-end .popup-inner h2 a {
  color: #fff;
    }
#wrong .popup-inner {
/*  background-color: #a92c2c;*/
  background-color: #6fc9c9;
  color: #fff;
  width: 300px;
  left: calc(50% - 150px);
    }
#wrong .popup-inner h2 {
  color: #fff;
    }
#wrong .popup-inner .closepopup {
  color: #a92c2c;
    }
#tryagain {
    text-align: center;
    }
.quote.hide {
  display: none;
    }
.quote.temp-hide {
  display: none;
    }
.quote.initialPosition {
    }
.quote.absolute {
  display: block;
  position: absolute;
  top: 0;
  left: calc(50% - 100px) !important;
  z-index: 999999 !important;
    }
.quote.absolute .close {
    }
.quote-content {
  display: none;
    }
.dragHandle {
  background-color: #ddd;
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 20px;
  margin-left: -16px;
    }
#timeline {
  font-family: 'Amatic SC', uthman;
  position: relative;
  width: 100%;
  bottom: 0;
  height: 100px;
  right: 0;
  color: #ddd;
  display: flex;
  justify-content: center;
  z-index: 9999;
  background: center center url('img/timepart.svg') repeat-x transparent;
  -moz-user-select: none;
    }
.timespan {
  width: 100px;
  height: 100px;
  transition: transform 200ms linear;
  color: green;
  font-size: 32px;
  text-align: left;
  position: relative;
  line-height: 1em;
  padding: 17px 8px 0 0;
    }
.timespan.right {
  text-align: right;
    }
.timespan:not(:first-child)::after {
  border-left: 1px solid green;
  position: absolute;
  content: " ";
  height: 14px;
  left: 0;
  top: 44%;
    }
.timespan .to {
  font-size: 20px;
  line-height: 2em;
  text-align: right;
  width: 100%;
  display: block;
    }
.timespan:hover {
  transform: scale(1.2);
    }

/* PLAY PAGE END */


/*	SEARCH QUOTES (search n single)*/

.single-quote.has-sidebar:not(.error404) #primary {
	width: auto;
	}

.single-quote main {
	margin-bottom: 3em;
	}

.single .quote {
	width: unset;
	position: unset;
	}

.single .quote::after {
	background:unset;
	}

.search .quote, .search-results .quote {
  width: 100%;
  position: inherit;
  transition: unset;
	}
.search .quote::after, .search-results .quote::after {
	background: unset;
	position: inherit;
	}

/* end:SEARCH QUOTES (search n single)*/


/* QUIZ */

.single-wp_quiz.has-sidebar:not(.error404) #primary {
    float: left;
    width: 100%;
    }

.single-wp_quiz .entry-header .entry-title {
    text-align: center;
    font-size: 2rem;
    }

.wq-quiz-trivia .wq_questionTextCtr {
    border: 1px solid #e1e1e1;
    background-color: #3cc;
    color: #fff;
    }

body .wq_questionTextCtr h4 {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    padding: 1em;
    }


.wq-explanation-text i {
    display: block;
    padding: 2em 0 1em;
    }

.single-wp_quiz .site-footer .widget-column.footer-widget-1 {
    width: 100%;
    }

/* end: QUIZ */

/*              RESPONSIVE              */

@media only screen and (max-width: 1060px) {

.home .panel-content {
    background: none;
    }


.content-area.quotes-area {
    background-position-y: 125px;
    }

/*TEMP TILL we Make the new timeline*/
#quotes-cats h1:first-of-type {
/*    display: block;*/
    }

}

@media only screen and (min-width: 1350px) and (max-width: 1370px) {

.page-id-12 #primary .entry-content,
.page-id-703 #primary .entry-content {
    width: 60% !important;
    padding-left: 55px !important;
    }

.front-dynamic-sidebar .wrap {
	padding-top: 1em;
	padding-left: 0em !important;
    }

.home .panel-content .wrap {
    padding-left: 3em;
    padding-right: 0em;
    }

}

@media only screen and (max-width: 810px) {

.page-id-20 .content-area.quotes-area {
	background-position-y: 360px;
	}

.term-56 .popup-inner-scroll {
	max-height: calc(100vh - 500px);
	}

}

@media only screen and (max-width: 770px) {

.navigation-top a {
    font-size: 28px;
    }

.page-id-12 #primary .entry-content,
.page-id-703 #primary .entry-content {
    width: 100% !important;
    }

.page-id-12 #primary .entry-content p,
.page-id-703 #primary .entry-content p {
    margin: 0px 30px;
    }

.front-sidebar {
    width: 100%;
    }

.front-dynamic-sidebar {
    display: none;
    }

.img12-r {
    padding-left: 0px;
    margin: 0 auto;
    }

#text-2 {
    text-align: center;
    }

.content-area.quotes-area {
    background-position-y: 395px;
    }

.dots-h1 {
	font-size: 25px;
	}

}


@media only screen and (max-width: 480px) {

.dots-h1 {
    font-size: 25px;
    }

.dots-font.dots-h1.play-header {
    width: 100%;
    }
    
.quotes-area #quotes-cats {
    width: 100%;
    }
    
.content-area.quotes-area {
    background-position-y: 0px;
    background:none;
    }

.front-dynamic-sidebar {
    display: none;
    }

.jena-logo {
	max-width: 135px;
	}

}   
    
/*     END         RESPONSIVE              */
