/*
Theme Name:     Claap
Description:	Teme par sît Claap basât su bootstrap     
Author:         Franz Feregot
Template:       wordpress-bootstrap-master
Version:        0.1.0
*/

body {
	background-image: url("library/img/background_peraulis.png");
	background-size: 600px;
	background-attachment: fixed;
	height: 100vh;
    display: flex;
    flex-direction: column;
	padding-top: 0;
}

#content {
	padding: 0;
	flex-grow: 1;
}

#main-container {
	background-color: #fbfafa;
	flex-grow: 1;
    display: flex;
    flex-direction: column;	
	width: 100%;
	box-sizing: border-box;
}

body.page-template-page-homepage #main-container {
	background-color: transparent;
}


.page-header {
	margin-top: 0;
}

.page-header .page-title {
	margin-top: 0;
}


#book {
	overflow-y: visible;
}

#book > div > div:last-child {
	display : none;
}

.breadcrumb {
	margin : 0;
}

.breadcrumb+.page-header {
	margin-top: 0;
	
}

tr.sub_options div {
	border: 1px dashed grey;
	border-radius:10px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}

tr.sub_options table {
	width: 100%;
}

tr.sub_options th {
	text-align: left;
	padding-left: 5px;
}

label.horizontal {
	display: inline-block;
	margin-right: 10px;
}

#adv_search {
	font-size: 12px !important;	
	line-height: 14px;
}

#adv_search td {
	padding-top:3px;
	vertical-align: text-bottom;
}

#adv_search input[type="text"] {
	margin-bottom:0 ;
	font-size: 12px !important;	
	line-height: 14px;
	height: 14px;
}

#adv_search .etic {
	text-align: right;
	padding-right: 5px;
}

img.corpus-img {
	border : dotted gray 1px;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
}

footer .iubenda-ibadge {
  vertical-align: bottom;
}

.page-footer {
	background-color: #666666;
	margin-left: -20px;
  	margin-right: -20px;
}

.page-footer p {
	margin: 10px 0;
}

.page-footer a {
	color: white;
	text-decoration: none;
	margin-left: 25px;
}

.page-footer a.iubenda-embed{
	margin-left: 25px !important;
}

.page-footer a:first-child {
	margin-left: 0;
}

.page-footer a:hover {
	color: black;
}


i.facebook {
	background-image: url("library/img/facebook_16.png");
    background-repeat: no-repeat;
    display: inline-block;
    height: 16px;
    vertical-align: text-top;
    width: 16px;
}

/* plugin  polylang */

.widget_polylang ul {
    float: right;
    margin-top: 3px;
}

.widget_polylang .lang-item {
    list-style: none;
    display: inline;
    margin-left: 5px;
}

.widget_polylang img {
    display: inline-block;
    vertical-align: middle;   
}

.widget_polylang .lang-item.current-lang a {
    color: black !important;
    font-weight: bold;
}

.widget_polylang .lang-item span {
    display: inline-block;
    vertical-align: middle;   
}

.title-box {
	background-image: linear-gradient(#fd0100, #611515);
	line-height: normal;
	padding: 1rem;
	margin-bottom: 10px;
}

.title-box h1 {
	line-height: 1;
	font-weight: bold;
	margin: 0;
}

.title-box .title-row-1 {
	font-size: 2rem;
	color: #ffba00;
}

.title-box  .title-row-2 {
	font-size: 2.5rem;
	color: #fff;
}


.tool-row {
	display: flex; 
	gap: 20px 15px;
	flex-wrap: wrap; 
	margin-top: 20px;
	justify-content: center;
}

.tool-cell {
	flex-basis: 100%;
}

@media screen and (min-width: 500px) {
	.tool-cell {
		flex-basis: 80%;
	}
}

@media screen and (min-width: 768px) {
	.tool-cell {
		flex-grow: 1;
		flex-basis: 40%;
	}
	.tool-cell:last-of-type {
		max-width: 50%;
	}

	.title-box .title-row-1 {
		font-size: 3rem;
	}

	.title-box  .title-row-2 {
		font-size: 4rem;
	}

	.title-box {
		padding: 1.5rem;
		margin-bottom: 20px;
	}
}

@media screen and (min-width: 980px) {
	#main-container {
		padding-top: 50px;
	}
}

.tool-cell  a {
	display: flex;
  	height: 100%;
	text-decoration: none;
}

.tool-box {
      padding: 20px 30px;
      box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
      border-radius: 10px;
      background: #fff;
      transition: all ease-in-out 0.3s;
	  width: 100%;
}

.tool-box-title {
	display: flex;
	align-items: center;
}

.tool-box i {
	color: #5496fd;
	font-size: 42px;
}

.tool-box h3 {
	font-weight: 700;
	margin: 0 0 0 0.5em;

	font-size: 20px;
	color: #545454;
}

.tool-box p {
	color: #545454;
	line-height: 24px;
	font-size: 14px;
	margin-bottom: 0;
}

.tool-box:hover {
        background: #5496fd;
}
.tool-box:hover i {
          -webkit-animation: tada 1.5s ease 1;
                  animation: tada 1.5s ease 1;
        }

.tool-box:hover i, .tool-box:hover p {
          color: #fff;
        }
.tool-box:hover h3 {
          color: #fff;
          transition: 0.5s;
        }

@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}		
 
.navbar-inner {
	background-color: #131b26;
	background-image: none;
}

.navbar .nav > li > a, .navbar .brand {
	color: white;
	text-shadow: none;
	font-weight: bold;
}

.navbar  .nav > li > a:hover, .navbar .brand:hover {
	color: #ffba00;
	
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
	color: #d34a00;
	background-color: transparent;
	box-shadow: none;
}

.letaris ul > li > a {
	padding-left: 11px;
	padding-right: 11px;
}

.error-signal {
	margin-bottom: 1em;
}

.ext-arrow {
	font-size: 2em !important;
	display: block;
	position: absolute;
	right: 8px;
	top: 8px;
}