/*
Theme Name: Srednja.hr
Description: WordPress theme for Srednja.hr
Template: poseidon
Version: 1.0
Text Domain: srednjahr
*/
#header-top, #footer, #footer-widgets-bg { margin:0 auto; }
.header-main { position: relative; }
.header-main.container { padding: 0 12px; }

header { margin:0 auto; }

.sticky-header .fixed-header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100% !important;
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
}

body.fixed-header #content{
    padding-top: 165px;
}

.sticky-header .fixed-header #logo img {
    width: 120px;
    margin: 0.5em 0 0;
}

.sticky-header .fixed-header #top-banner {
    display: none;
}

.sticky-header .fixed-header .site-branding .custom-logo {
    margin: 1.3em 1em 0 0;
    padding: 0;
    border: none;
    vertical-align: top;
    max-width: 100%;
    max-height: inherit !important;
    height: auto;
}

#top-banner { height: 100px; margin-left: 210px; }
#top-banner .adBanner { margin-top: 10px; }
#top-banner li { list-style: none; margin:0; }
#top-banner li div.textwidget { margin-top: 10px; }
#top-banner li div.textwidget>p { margin: 0; }
#top-banner .widget { margin:0; }
.breaking-news .adBanner > div {
    margin: 0 auto 10px;
}

.adBanner {
    overflow: hidden;
}

#logo { position: absolute; top: 0; }

.primary-navigation { margin: 0.2em 0; }

@media screen and (max-width: 960px) {    
    #top-banner { margin-left: 0; display: none}
    #logo { position: initial; }

    body.fixed-header #content{
        padding-top: 52px;
    }

    .sticky-header .fixed-header .site-branding .custom-logo {
        margin: 0;
        padding: 0;
        border: none;
        vertical-align: top;
        max-width: 100%;
        max-height: inherit !important;
        height: auto;
    }

    .sticky-header .fixed-header .main-navigation-toggle {
        padding: 1em;
    }

    .main-navigation-toggle {
        float: right;
        display: inline-block;
        margin: 1.6em 0;
        padding: 1em;
        background: none;
    }
}

@media only screen and (max-width: 70em) {
    .main-navigation-menu a { padding: 1.5em 0.9em 1.5em 0.9em; }
}

@media only screen and (min-width: 1100px) {
    #content, #masthead, #header-bar, #header-top, #footer-widgets-bg, #footer {
        width: initial;
        max-width: 1060px;
    }
}

.footer-widgets-background {
    padding: 3em 0;
}

.content-area {
    width: 71.6%;
    padding-right: 1em;
}

.sidebar {
    width: 28.4%;
}

.sidebar .tzwb-tabcontent ul li a:link {
    font-size: 0.9375rem;
}

.sidebar .tzwb-tabcontent ul li a:hover {
    color:#22aadd;
}

.widget-magazine-posts-content{
    overflow: hidden;
}

.sidebar .widget .totalpoll-question {
    font-weight: normal !important;
    font-size: 1rem !important;
    color: #404040;
}

@media only screen and (max-width: 55em){
    .content-area{
        width: 100%;
        padding-right: 0;
    }
    .sidebar {
        width: 100%;
    }
}

.tab-body {
    display: none;
}

.tab-body:first-child {
     display: block;
}
.form.school-filter select{
    width: 100%;
}

.form.school-filter button{
    float: right;
    margin: 10px 0 10px;
}
.form.institution-filter select{
    width: 100%;
}

.form.institution-filter button{
    float: right;
    margin: 10px 0 10px;
}

.form.professor-filter select{
    width: 98%;
}
.form.archive-filter input{
    height: 25px;
    width: 100%;
}

.form.filters input[disabled],
.form.filters .select2-container--default.select2-container--disabled .select2-selection--single,
.form.filters select[disabled] {
    background: #fff;
}
.form.filters input[disabled] {
    background: #fff;
}

.form.professor-filter button{
    float: right;
    margin: 10px 0 10px;
}

.row .col-1-2 {
    width: 50%;
}

.row .col-1-2 {
    width: 33%;
}

.row .col-1-4 {
    min-width: 110px;
    width: 22%;
    margin-right: 3%;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.align-right {
    text-align: right;
}

.widget {
    margin-bottom: 12px;
}

.widget .relatedPosts .item {
    padding: 10px;
}

.widget .relatedPosts a {
    color: #000;
}

.widget .relatedPosts a:hover .item .title {
    color: #22aadd;
    transition: 0.2s ease;
}

.widget .relatedPosts .item .image {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ddd;
    background-position: 50% 50%;
    border: 2px solid #bbbbbb;
}

.widget .relatedPosts .item .title {
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
}

.widget .post-slider .item {
    padding: 10px;
}

.widget .post-slider a {
    color: #000;
}

.widget .post-slider a:hover .item .title {
    color: #22aadd;
    transition: 0.2s ease;
}

.widget .post-slider .item .image {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ddd;
    background-position: 50% 50%;
    border: 2px solid #bbbbbb;
}

.widget .post-slider .item .title {
    margin-top: 10px;
    text-align: center;
}


.widget .post-slider .owl-prev {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 40px;
    margin-left: -3px !important;
    display: block !important;
    border:0px solid black;
    color: white !important;
    background-color: #22aadd !important;
    border-radius: 0 !important;
}

.widget .post-slider .owl-next {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 40px;
    right: -10px;
    display: block !important;
    border:0px solid black;
    color: white !important;
    background-color: #22aadd !important;
    border-radius: 0 !important;
}

.ratings {
    margin-top: 20px;
}

.tabs {
    margin-top: 20px;
}

/* TABS component */

[data-element="tabs"] [data-target] {
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    background-color: #ececec;
    color: #868686;
    transition: all 0.2s ease;
}

[data-element="tabs"] [data-target].active {
    background-color: #22aadd;
    color: #fff;
}

[data-component="tabs"] [data-element="tab"] {
    display: none;
}

[data-component="tabs"] [data-element="tab"].active {
    display: block;
}

.professor .details p {
    margin: 0;
}

.professor .details {
    margin-top: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    transition: 0.3s all;
}

.modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    margin-top: 90px;
    padding: 50px;
    border: 1px solid #888;
    max-width: 500px;
    transition: 0.3s all;
}

.modal-content input, .modal-content input:focus {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgb(170, 170, 170);
}

.modal-content input:focus{
    border-color: black;
    outline: none;
}

.select2-container {
    display: block;
    max-width: 100% !important;
}

form div.row {
    margin-bottom: 5px;
}

form div.row:last-of-type {
    margin-bottom: 24px;
}

form button {
    float: right;
}

.modal p {
    margin: 0 0 20px 0;
    font-size: 25px;
}

.kalkulator-upisa-traka {
    padding: 10px;
    padding-bottom: 0;
    text-align: center;
}

.kalkulator-upisa-traka .button {
    text-decoration: none;
    padding: 15px 50px;
    display: block;
    margin:0 auto 10px auto;
}


.widget .topProfessors thead {
    font-weight: bold;
}

.widget .topProfessors td {
    border: none;
    border-bottom: 1px solid #ddd;
}

.widget .topSchools thead {
    font-weight: bold;
}

.widget .topSchools td {
    border: none;
    border-bottom: 1px solid #ddd;
}

.widget .topFaculties thead {
    font-weight: bold;
}

.widget .topFaculties td {
    border: none;
    border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 768px){

    .kalkulator-upisa-traka .button {
        float: none;
        display: block;
        text-align: center;
    }

    .kalkulator-upisa-traka .text {
        float: none;
        display: block;
        text-align: center;
    }
}

.btn-primary {
    color: #fff !important;
    background-color: #428bca;
    border-color: #357ebd;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.table {
    width: 100%;
    max-width: 100%;
    min-width: 150px;
    margin-bottom: 20px;
}

table {
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
}

.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: #f5f5f5;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.use-bootstrap *, .daterangepicker * {
    box-sizing: border-box!important;
}

.text-center {
    text-align: center;
}

table td {
     border-left:transparent;
     border-right:transparent;   
}

@media screen and (max-width: 768px) { 
    .col-xs-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-xs-8 {
        width: 66.66666667%;
    }

    .col-xs-2 {
        width: 16.66666667%;
    }

    .col-xs-offset-1 {
        margin-left: 8.33333333%;
    }
    .col-xs-10 {
        width: 83.33333333%;
    }
}

.col-offset-5 {
    margin-left: 41.66666667%;
}

.entry-header i {
    position: relative;
    font-size: 2rem;
    bottom: 3px;
}

.calculator-content tbody tr.predmet td {
    padding: 0;
    line-height: 52px;
}

.calculator-content tbody tr.predmet td:last-child {
    text-align: center;
}

.calculator-content tbody tr.predmet td:last-child input {
    width: 60%;
}

.calculator-content select.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.main-navigation-menu a {
    padding:0.91em;
}

.entry-footer {
    display: none !important;
}

.wallpaper-ad {
    margin: 0;
    padding: 0;
    position: fixed;
    z-index: 1;
    height: 100%;
    top: 0;
    overflow: visible;
    background-color: transparent;
    width: 230px;
}

div.wallpaper-left {
    right: 50%;
    height: 100%;
    top: 0;
    margin-right: 530px;
	width: 300px;
}

div.wallpaper-left .adBanner > div {
	width: 300px !important;
}


div.wallpaper-right {
    left: 50%;
    height: 100%;
    top: 0;
    margin-left: 530px;
	width: 300px;
}

div.breaking-news .widget {
    margin:0 auto;
    max-width: 1060px;
    text-align: center;
    background: white;
    }

#calculator-results {
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

.page-title, .entry-title {
    line-height:1.2;
}

p.caption {
    margin-top: 0;
    text-align: center;
    margin-bottom:0;
}

div.lead {
    font-weight: bold;
    margin-top:5px;
    margin-bottom:10px;
}

.user-details .col-xs-4 {
    width: 33.33333333%;
}

.user-details .col-xs-8 {
    width: 66.66666667%;
}

.user-details .col-xs-12 {
    width: 100%;
}

.col-xs-1, .col-xs-2, .col-xs-3, .user-details .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .user-details .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: left;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.user-details hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
    height: 0;
}

.rank-list thead tr th:nth-child(1){
    width: 50px;
}

.rank-list thead tr th:nth-child(3){
    width: 90px;
}

.rank-list thead tr th:nth-child(4){
    width: 90px;
}

.rank-list tbody tr td:not(:nth-child(2)) {
    text-align: center;
}

.user-details {
    padding-top: 20px;
}

.user-details .row:nth-child(1) table td{
    border-right: 1px solid #ddd;;
}

.center {
    text-align: center;
}

.alert-success, .qmn_question_answer_correct .user-answer {
    color: #3c763d ;
    background-color: #dff0d8 ;
    border-color: #d6e9c6 ;
}

.qmn_question_answer_correct .correct-answer {
    display: none;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-info title {
    font-weight: bold;
    display: inline-block;
}

.alert-danger, .qmn_question_answer_incorrect .user-answer {
    color: #a94442 ;
    background-color: #f2dede ;
    border-color: #ebccd1 ;
    margin-bottom: 5px;
}

.alert-warning, .qmn_question_answer_incorrect .correct-answer {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert {
    padding: 15px ;
    margin-bottom: 20px ;
    border: 1px solid transparent ;
    border-radius: 4px;
}

.qmn_question_answer {
    margin-top: 20px;
}

.quiz-popular {
    float: left;
    background: gray;
    padding:10px;

}

.quiz-popular .head {
    text-transform: uppercase;
    font-size: 16px;
    color: white;
    border-bottom: 1px dotted white;
    text-align: center;
    padding-bottom: 10px;
}

div.kviz-izbornik-fotka {
    background-repeat: no-repeat;
    border: 3px solid #CCCCCC;
    height: 80px;
    width: 160px;
    overflow: hidden;
    cursor: pointer;
}

.quiz-popular div.kviz-izbornik-fotka {
    height: 80px;
    width: 113px;
    margin: 0 auto;
}

div.kviz-izbornik-text {
    text-align: left;
    padding: 2px;
}

.kvizovi-search-results .kviz-izbornik-text {
    width: 160px;
}

a.popularni-clanci-link:hover {
    text-decoration: underline;
}

div.kviz-popularno-clanci {
    padding: 10px 5px 0 5px;
}

div.kviz-popularno-clanci .pop-clanak {
    display: block;
}

.pop-clanak {
    display: inline-block;
}

div.kviz-izbornik-text, div.kviz-izbornik-text-half {
    color: #042538;
    font-size: 14px;
    font-weight: normal;
    line-height: 15px;
    margin-bottom: 0;
    width: 120px;
    margin-bottom: 5px;
}

div.kviz-izbornik-text a {
    color: #eee;
}
.quiz-gallery, #quizes {
    padding-top:40px;
    position: relative;
    margin-left: 160px;
}

.quiz-gallery .faq, #quizes .faq {
    position: absolute;
    top:5px;
    right: 0;
}

.quiz-gallery .filter, #quizes .filter {
    overflow: auto;
}

.quiz-filter {
    margin-top: 10px;
}

.quiz-gallery .filter select, #quizes .filter select, .quiz-filter select {
    width: 100%;
    padding:5px;
}

.quiz-gallery .filter button, #quizes .filter button, .quiz-filter button {
    float: none;
    display: block;
    margin: 0 auto;
}

.quiz-gallery .filter>div, #quizes .filter>div, .quiz-filter>div{
    margin-bottom: 20px;
}

.col-xs-12 {
    width: 100%;
}

.type-post  {
    margin: 0 0 2em 0;
    max-width: 100%;
}

.midas-widget {
    margin: 0 !important;
}

@media screen and(min-width: 768px){
    .col-sm-4 {
        width: 33.33333333%;
    }
}

div.kviz-dark-on-light div.kviz-izbornik-text a {
    color: #666;
}

.grid-item { width: 33.33333%; height: 160px; text-align: center;}

@media all and 
(max-width: 1022px) and (min-width: 880px), 
(max-width: 720px) and (min-width: 625px),
(max-width: 550px) and (min-width: 395px) {
  .grid-item {
        width: 50%;
    }
}

@media screen and (max-width: 394px){
    .grid-item {
        width: 100%;
    }
}


 .kvizovi-search-results { padding-left: 15px; }

 #search_user_form button[type="submit"] { float: none; vertical-align: top; line-height: 1.95; }

 .text-center { text-align: center; }

 .user-search-form { margin-bottom: 30px; }

 .top-list table thead tr th:first-child { width: 50px; }

 .faq { margin-right: 15px; }

 .btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

#cat40 .row:last-child>div { margin-bottom: 20px; }

.archive-filter .select2 {
    width: 100% !important;
}

@media only screen and (max-width: 60em) {
    /* Mobile Submenu Dropdowns */
    .main-navigation-menu .submenu-dropdown-toggle {
        float: right;
        display: block;
        margin: 0;
        padding: 0;
    }

    .archive-filter .row>div{
		width: 100% !important;
    }

    body.post-type-archive table, body.page-template-template-grade-professors table {
    	display: block;
        overflow-x: auto;
    }

    #top-banner { max-height: 100%; height: auto; text-align: center}

    /*#top-banner iframe { height: 250px; }*/

}

body.page-template-template-grade-professors table thead tr th:nth-child(2) { min-width: 130px; }
body.page-template-template-grade-professors table thead tr th:nth-child(3) { min-width: 160px; }

.site-content.container {
	padding:12px;
}

.archive-filter .col-1-2:first-child {
    margin-right: 4%;
}

.archive-filter .row .col-1-2 {
    width: 48%;
}

.widget-magazine-posts-boxed .magazine-posts-boxed-horizontal .medium-posts {
    margin-right: 0;
}

@media only screen and (max-width: 625px) {

    .quiz-popular {
        display: none;
    }

    .quiz-gallery, #quizes {
        margin-left: 0;
    }

}

[data-moreitems="0"] { display: none; }

article.type-quiz .entry-meta { display: none; }

.quiz_section { padding-top: 5px !important; padding-bottom: 0px !important; }

.qmn_mc_answer_wrap {
    margin: 0 !important;
}

.quiz_section .qmn_radio_answers label, .quiz_section .qmn_check_answers label, .quiz_section .qmn_accept_answers label {
    display: inline-block !important;
    width: calc(100% - 20px);
    padding: 8px 0 8px 10px;
    border-radius: 7px;
    transition: 0.3s all;
    margin: 0 !important;
}

.quiz_section .qmn_mc_answer_wrap label:hover{
    background: rgba(34, 170, 221, 0.44);
}

.mlw_qmn_question_number, .quiz_section textarea, input.mlw_qmn_question_comment, .qmn_quiz_form br { display: none !important; }
.mlw_qmn_question { font-size: 20px !important; }

.qmn_quiz_container { max-width: 840px; }
.qmn_quiz_container.mlw_qmn_quiz .qsm-spinner-loader { display: block; margin:20px auto; }

.qmn_results_page a.mlw_qmn_quiz_link { padding: 5px 10px; color: white; border-radius: 7px; cursor: pointer; }
.qmn_results_page a.mlw_qmn_quiz_link:nth-of-type(1) { background-color: #3b5998; }
.qmn_results_page a.mlw_qmn_quiz_link:nth-of-type(2) { background-color: #00aced; }

input[type="radio"]:checked+label{ font-weight: bold; } 

input[type="submit"].qmn_btn {
    float: right !important;
    position: relative;
    top: 15px;
    z-index: 10 !important;
}

form {
    z-index: 10 !important;
}

.quiz_section label, .quiz_section .mlw_qmn_question {
    margin: 5px 0 0px 0 !important;
}

.qmn_user_incorrect_answer {
    font-weight: bold;
    color: red;
}

@media screen and (max-width: 768px){
    .mlw_previous, .mlw_next, .qmn_page_counter_message {
        max-width: 130px !important;
        position: relative;
    }

    .mlw_next {
        position: absolute !important;
        left: initial !important;
        top: 15px !important;
        right: 0 !important;
    }

    .qmn_page_counter_message {
        display: none !important;
    }

    input[type="submit"].qmn_btn {
        margin-top:15px !important;
        top: auto;
    }
}

#elementary-institute table th:nth-child(2), #high-institute th:nth-child(2) { min-width: 275px; }
#faculty-institute th:nth-child(2) { min-width: 300px; }
#faculty-institute th:nth-child(3) { min-width: 250px; }

a.more-link { display: none !important; }

.widget .relatedPosts .item .title { text-align: left; text-transform: none; }

.widget .relatedPosts .post-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: column wrap;
    flex-flow: row wrap;
    -webkit-align-content: center;
    align-content: center;
}

.ajax-loader i{
    font-size: 20px;
}

.search-results article { clear:both; margin-bottom: 10px !important; }
.search-results h2.entry-title { font-size: 1.75rem; }
@media only screen and (min-width: 25em){
    .search-results .post-thumbnail-small img { float: left; margin: 0px 1.5em 1.5em 0 !important; padding: 0.3em 0 0; max-width: 40%; }
}

.entry-content #wppb-login-wrap {
    max-width: 350px;
    margin: 30px 0 0 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: none;
}

@media (max-width: 320px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        clear: both;
    }
}

@media (max-width: 525px) {
    .relatedPosts.row .col-1-4 {
        min-width: 110px;
        width: 50%;
        margin-right: 0;
    }
}

.content-area figure {
    padding: 0 20px;
    margin: 0;
}

.entry-tags {
    margin: 0;
}

@media only screen and (max-width: 40em) {
    .entry-content {
        font-size: 18px;
        font-size: 1.125rem;
    }
}
