/*
Theme Name: Biblio
Author: Karlis Tkačovs
Description: WordPress Template for OVD Ticības Spēks digitālās bibliotēkas
Version: 0.0.1
*/



/* Varibles */

:root {
    --main-balck: #000;
    --dark-gray: rgba(0, 0, 0, 0.5);
    --light-gray: #D9D9D9;
    --main-blue: #6F6CB5;
    --hover-blue: rgba(111, 108, 181, 0.75);
    --main-white: #fff;

    --sidebar-with: 10%;
	--sidebar-mobile-with: 0%;
}



pre {
	white-space: pre-line;
    overflow-x: auto;
}

/* End Varibles */



body {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    background-color: var(--main-white);
}


.main {
    display: block;
}

button {
    display: flex;
    background-color: var(--main-blue);
    color: var(--main-white);
    border: none;
    cursor: pointer;
}


/* Header */

.header-top {
    height: 80px;
    background: var(--light-gray);
}

.header-top_inner {
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
	flex-wrap: wrap;
    padding: 0 25px;
}

.logo-top {
font-weight: 700;
font-size: 20px;
color: var(--main-balck);
}

.user-top {
    color: var(--main-blue);
    font-weight: 700;
    font-size: 18px;
}

.user-top i {
    font-size: 20px;
}


.user-top a i {
    color: var(--main-blue);
}

.user-top a i:hover {
    color: var(--hover-blue);
}

.header-bottom {
    background-color: var(--main-blue);
    height: 40px;
}


/* End Header */



/* Sidebar */

.sidebar {
    width: var(--sidebar-with);
    background-color: var(--light-gray);
    height: 100vh;
    float: left;
    position: sticky;
}


/* Sidebar NAVIGATION*/

.my_extra_menu_class {
	display: none;
}


.sidebar-nav {
    padding-top: 7px;
}

ul.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    margin-bottom: 25px;
}



.menu a {
    color: var(--main-balck);
    text-decoration: none;
    font-size: 18px;
    line-height: 21px;
    text-transform: uppercase;
    display: block;
    padding: 13px 33px;
    transition: all 0.3s;
}


#menu-nav a:hover, .menu-item.current-menu-item > a  {
    background-color: var(--dark-gray);
    color: var(--main-white)!important;
    font-weight: 700;
}

current_page_item > li {
	color: var(--main-white);
}



/* End Sidebar NAVIGATION */

/* End Sidebar */


/* Content */
.content {
    width: calc(100% - var(--sidebar-with));  
    float: right;
}

.container {
    padding: 40px 80px;
    margin: 0 auto;
}




/* Block */
.block-title {
    font-weight: 700;
    font-size: 25px;
    line-height: 29px;
    text-transform: uppercase;
    color: var(--main-blue);
    text-align: center;
    margin-bottom: 30px;
}

.block-search {
    margin-bottom: 30px;
    height: 35px;
}

.block-search input {
    width: 100%;
    background-color: var(--light-gray);
    border: none;
    padding: 0 15px;
    font-size: 20px;
	outline: none;
	transition: all 0.3s;
}

.block-search input:hover {
	background-color: rgba(217, 217, 217, .4);
}

input.btn-search {
    height: 35px;
    width: 20%;
    align-items: center;
    justify-content: center;
    gap: 10px;
	background-color:var(--main-blue);
	color: var(--main-white);
}


input.btn-search:hover {
	background-color:var(--hover-blue);
}


.song_search_form {
	background-color: var(--light-gray);
	border: none;
	transition: all 0.3s;
}

.song_search_form:hover {
	background-color: rgba(217, 217, 217, .4);
}

.block-search-categories {
    display: flex;
}

.block-search-input-type-checkbox {
    display: flex;
    gap: 25px;
}


#form-wrapper {
	width: 100%;
   	display: flex;
    gap: 10px;
}


.song-list-wrap, .authors-list {
    margin: 60px 0;
}


table.song-list {
    width: 100%;
    table-layout: auto;
    border-spacing: 0;
}

.song-list th, .song-list td  {
    border-bottom: 1px solid black;
    padding: 15px 0;
}

tbody tr {
	background-color: var(--main-white);
	transition: all 0.3s;
}


tbody tr:hover {
	background-color: rgba(217, 217, 217, .4);
}

.song-list th {
    text-align: left;
    font-weight: 400;
}

.song-list-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
    text-transform: uppercase;
    color: var(--main-blue);
    text-decoration: none;
    transition: all 0.3s;
}


.song-list-title:hover{
    color: var(--hover-blue);
}


.song-sub-title, .song-archive-index {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: var(--main-blue);
}


.song-authors {
	display: block;
	color: var(--dark-gray);
}

.translator_item span {
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	color: rgba(0, 0, 0, .6);
}


.song-category-wrap{
    display: flex;
    gap: 10px;
    color: var(--dark-gray);
}

.song-category-wrap a {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    gap: 10px;
    color: var(--dark-gray);
    text-decoration: none;
	padding: 3px 0;
}

a.composer, a.lyricst, a.translator {
	color: var(--dark-gray);
    text-decoration: none;
}

.composer_item, .lyricst_item {
	padding-bottom: 6px;
}


.song-files-wrap {
    display: flex;
    gap: 5px;
}


.song-files-item-icon img {
    width: 35px;
    height: auto;
}

.song-files-item-icon img:hover {
    width: 35px;
    height: auto;
    opacity: .75;
}

.block-pager {
	text-align: center;
}


.wrapper-pager, .wrapper-pager a {
	font-size: 20px;
    font-weight: 600;
	color: var(--main-blue);
	text-decoration: none;
}


.wrapper-pager a.active {
	background-color: var(--light-gray);
	padding: 5px 10px;
	border-radius: 10px
}



/* End Content */


/* fron Login form */

#front-page-login {
	text-align: center;
	font-family: "Roboto", sans-serif;
}

input#user_login.input, input#user_pass.input {
    background-color: var(--light-gray);
    border: none;
	min-width: 270px;
    width: 17%;
    height: 35px;
    margin-top: 9px;
    outline: none;
    padding: 3px 10px;
}


input#user_pass.input {
    margin-top: 3px;
}


input#wp-submit.button.button-primary {
    padding: 10px 100px;
    background: var(--main-blue);
    border: none;
    outline: none;
    color: var(--main-white);
    transition: all 0.3s;
}

input#wp-submit.button.button-primary:hover {
    background: var(--hover-blue);
}


/* Open Song */


.article-header-wrap {
	display: flex;
    gap: 15px;
	align-items: center;
}

.song-category-items {
	display: flex;
    gap: 15px;
}

.song-category-items a {
	font-weight: 500;
	font-size: 13px;
	line-height: 15px;
	text-transform: uppercase;
	color: var(--dark-gray);
}

i.fa-solid.fa-arrow-left {
	color: var(--main-blue);
	transition: all .3s;
	
}

i:hover.fa-solid.fa-arrow-left {
	color: var(--hover-blue);
	
}

button.btn-print {
	display: flex;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: none;
    cursor: pointer;
	padding: 10px 10px;
	border-radius: 50px;
}

button.btn-print:hover{
	background-color: rgba(217, 217, 217, .7);
}



i.fa-solid.fa-print {
	font-size: 15px;
}

.left_side_content h1.entry-title {
	margin: 0;
	font-weight: 700;
	font-size: 35px;
	line-height: 41px;
	text-transform: uppercase;
	color: var(--main-blue);
	margin-top: 18px;
}

.song-meta-wrap {
	font-size: 17px;
    margin-top: 30px;
    padding-left: 15px;
	padding-top: 10px;
    border-left: 10px solid var(--light-gray);
}

.song-year, .song-copyright {
	font-size: 17px;
	color: var(--dark-gray);
}

.song-year {
	padding-top: 10px;
}

.song-year {
	padding-top: 10px;
}

.song-year.author {
	padding-top: 0;
}

.song-meta-wrap .item-title {
	font-weight: 700;
	text-transform: uppercase;
    color: rgba(0, 0, 0, .6);
	font-size: 13px;
	margin-top: 10px;
}

.song-meta-wrap > div {
	padding-bottom: 10px;
}

i.fa-solid.fa-copyright {
	color: rgba(0, 0, 0, .6);
	padding-right: 5px;
	
}

a.composer, a.lyricst, a.translator {
	display: block;
}

a.translator.list {
	display: inline;
}

.item-title {
	padding: 0!important;
}

.item-title a:last-child {
	margin-bottom: 50px;
}


.article-song-files-wrap {
	display: flex;
	gap: 40px;
	margin-top: 45px;
}

.article-song-files-wrap > a {
	padding-right: 40px;
	border-right: 2px solid var(--main-blue);
}

.article-song-files-wrap a:last-child {
	padding-right: 0;
	border-right: none;
}

.article-song-files-wrap img {
	width: 40px;
	height: auto;
}

.article-song-files-wrap img:hover {
	width: 40px;
	height: auto;
}

.open-song {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.right_side_content {
	width: 50%;
	padding: 10px 30px;
	background-color: var(--light-gray);
}


/* Authors list */

.authors-list {
	columns: 4;
}
a.author-list-title {
	text-decoration: none;
	color: var(--main-blue);
	transition: all .3s;
}

a:hover.author-list-title {
	text-decoration: none;
	color: var(--hover-blue);
}

.author-title {
	padding-bottom: 5px;
}


/* Authors open */
.author-item-title {
	color: var(--dark-gray);
	font-weight: 700;
}

.author-item-wrap {
	padding-bottom: 30px;
	position: relative;
}

a.author_link {
	color: var(--main-blue);
	text-decoration: none;
}

.author-desc {
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
	
}



.author-item-title {
	margin-top: 20px;
}

.right_side_content.author {
	width: 70%;
}

.author-desc-img {
	padding-left: 20px;
}

/* Footer */

.footer-wrap {
    height: 40px;
    width: 100%;
    background-color: var(--main-blue);
    display: flex;
    bottom: 0px;
}

.footer-inner {
    color: var(--main-white);
    display: flex;
    height: 40px;
    align-items: center;
    flex-direction: row;
    margin: 0 auto;
    font-size: 13px;
    font-weight: 700;
}

.copyright {
    padding-left: 10px;
}

/* MEDIA */


@media only screen and (max-width: 1440px) {
	.menu a {
		padding: 14px 30px;
	}
	
	.menu li {
    margin-bottom: 10px;
}
}





@media only screen and (max-width: 1024px) {
	.menu a {
		padding: 10px 10px;
		font-size: 15px;
	}
	
	.menu li {
    margin-bottom: 10px;
}
	
		.container {
    padding: 40px 20px;
}
	
	.song-files-item-icon img {
    	width: 28px;
    	height: auto;
	}
	
	.right_side_content p {
		font-size: 16px;
    	line-height: 1.2;
	}
}



@media only screen and (max-width: 768px) {
	
	.no-tablet {
		display: none;
	}
	
	.sidebar {
		width: var(--sidebar-mobile-with)
	}
	
	.content {
    width: calc(100% - var(--sidebar-mobile-with));  
	}
	
	.authors-list {
    columns: 3;
}
	
	.menu-nav-container {
		display: none;
	}
	
	.my_extra_menu_class {
		display: flex;
		justify-content: center;
	}
	
	ul#menu-nav {
		display: flex;
    	justify-content: center;
		margin-top: 0;
	}
	
	.menu a {
		padding: 9px 10px;
	}

}


@media only screen and (max-width: 425px) {
	
	.no-mobile-l {
		display: none!important;
	}
	
	.header-top_inner {
		justify-content: center;
	}
	
	#form-wrapper {
		flex-wrap: wrap;
	}
	
	input#s {
		height: 35px;
	}
	
	input.btn-search {
    	width: 52%;
	}
	
	.block-search {
 	   height: 70px;
}
	
	.open-song {
		flex-wrap: wrap;
	}
	
	.right_side_content {
    width: 100%;
	}
	
	.authors-list {
    columns: 2;
}
	
	input.btn-search.author{
        width: 100%;
    }
	
	.author-desc {
     flex-wrap: wrap;
	
}


@media only screen and (max-width: 375px) {
	
	.no-mobile-m {
		display: none!important;
	}
	
	input.btn-search {
        width: 45%;
    }
	
	.song-category-wrap a {
		font-size: 13px;
	}
	
	.authors-list {
    columns: 1;
}
	
	
}


@media only screen and (max-width: 320px) {
	
	.no-mobile-s {
		display: none!important;
	}
	
	.header-top_inner {
		padding: 0 5px;
	}
	
	input.btn-search {
        width: 35%;
    }
	
	.right_side_content p {
		font-size: 15px;
		line-height: 1.3;
	}
	
	.left_side_content h1.entry-title {
    	font-size: 25px;
    }