/* 

Puzzle Template

http://www.templatemo.com/tm-477-puzzle 

*/

a,
a:hover,
a:focus {
    text-decoration: none;
}
a:focus {
    outline: none;
}
body{
    margin:0;
    padding:0;
    background-image:url(../images/back.jpg);
    background-repeat:no-repeat;
    background-size:100% 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight:300;
}
.row {
    margin-right: 0px;
    margin-left: 0px;
}
p {
    margin: 0 0 20px;
}
.tm-image {
    width: 100%;
    height: 100%;
}
.fixed-header{
    width:100%;
    float:left;
    /*background-color:#023D69;*/
    position:fixed;
    top:0;
    z-index:111;
    transition:all 0.4s;
    -webkit-transition:all 0.4s;
    padding: 35px 0px;
}
.navbar-toggle {
    position: absolute;
    top: 8px;
    right: 17px;
    margin: 0;
    z-index: 99999999;
    color: #fff;
    padding: 10px 10px;
    background-color: #006699;
    border: none;
    font-weight: bold;
    display:none;
}
.navbar-brand {
    color: #fff;
    font-weight:300;
    font-size: 38px;
}
.navbar-brand:hover,
.navbar-brand:focus {
    color: #93FAFF;
}
.fixed-header ul{
    padding-left:10px;
    float:right;
    margin:0;
}
.fixed-header ul li{
    display:inline-block;
    padding: 15px 0px;
}
.fixed-header ul li a{
    text-decoration:none;
    color:#fff;
    font-size: 20px;
    font-weight: 300;
    padding: 10px 30px 0;    
}
.fixed-header ul li a:hover,
.fixed-header ul li .current{
    color: #93FAFF;
    border-top:2px solid #93FAFF;
}
.fixed-header {
    background: transparent;
}
.fixed-header.scroll {
    background: rgba(2, 61, 105, 0.80);
    padding: 0;
}
.fixed-header.scroll .navbar-brand {
    font-size: 30px;
}

#home {
    padding-top: 8.5em;
}
.content {
    padding-right: 0px;
    padding-left: 0px;
}
.content-item {
    padding-right: 0px;
    padding-left: 0px;
    min-height:570px !important;
}
.content-item p:last-child {
    margin-bottom: 0;
}
.background.content-item-1 {
    padding: 60px 65px;
}
.last {
    border:2px solid;
    padding-right: 0px;
    padding-left: 0px;
/*    min-height:284px !important; */
    height: 284px !important;
}
#externals{
    max-height: 284px !important;
}
.background {
    background-color: #fff;
    padding: 25px 25px;
}
.about-text-container {
    font-style: italic;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.about-text {
    margin-bottom: 0;
    line-height: 1.6;
}
.main-title {    
    font-weight: 300;
    font-size: 34px;
    line-height: 1.4;
    margin-top: 70px;
    margin-bottom: 70px;
}
.section-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 25px;
}
.dark-blue-text {
    color: #006699;
}
.light-blue-text {
    color: #2FACFF;
}
.dark-blue-bordered-btn:hover,
.dark-blue-bordered-btn:focus,
.dark-blue-btn {
    background: #006699;
    color: white;    
}
.dark-blue-btn:hover,
.dark-blue-btn:focus,
.dark-blue-bordered-btn {
    background: none;
    border: 1px solid #006699;
    color: #006699;
}
.section-text {
    line-height: 1.6;
    font-size: 1em;
    margin-bottom: 15px;
}
.background ul {
   margin-bottom:20px;
}
.background li {
    /*list-style: none;*/
    font-size: 16px;
    line-height: 27px;
}
.btn {
    border-radius:0px;
    padding: 10px 25px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 300;
    margin-right: 15px;
    transition:all 0.3s;
    -webkit-transition:all 0.3s;
}
.btn:last-child {
    margin-right: 0;
}
.btn-big {
    padding: 10px 40px;
    min-width: 176px;
}
.btn-contact {
    font-size: 17px;
    padding: 10px 35px;
    color: #807D7D;
    font-weight: 300;
    margin-top: 0;
    transition: all 0.3s ease;
}
.btn-contact:hover,
.btn-contact:focus {
    color: white;
    background-color: rgba(47,47,47,0.5);
}
.no-bg {
    background: none;
    border: 1px solid #aaa;
}
.yellow-btn {
    background:#ACA633;
    border:1px solid #ACA633;
    color:#fff;
}
.yellow-btn:hover,
.yellow-btn:focus {
    background: none;
    color: #ACA633;
}
.blue-btn {
    background:#a1c5d9;
    border:1px solid #a1c5d9;
    color:#fff;
}
.blue-btn:hover,
.blue-btn:focus {
    background: none;
    color: #a1c5d9;;
}
.green-btn {
    background:#168887;
    border:1px solid #168887;
    color:#fff; 
}
.green-btn:hover,
.green-btn:focus {
    background: none;
    color: #168887;
}
.normal-btn {
    font-size: 16px;
    font-weight: 300;
    min-width: 145px;
}
.form-control {
    box-shadow: none;
    font-size: 16px;
    height: auto;
    padding: 8px;
    /* padding: 8px 12px; */
}
.form-group {
    margin-bottom: 18px;
}
.contact-form {
    /* overflow: hidden; */
    margin-left: -15px;
    margin-right: -15px;
}
.content-item input, .content-item textarea {
    border-radius:0px;
}
.contact-field {
    padding-left: 0;
    padding-right: 0;
}
.footer {
    color:#fff;
    font-size: 14px;
    font-weight: 400;
    padding:48px 0;
}
.footer a {
	color: #FF6;
}
.margin-b-0 {
    margin-bottom: 0;
}
.flexbox {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.pad-l-3 {
    padding-left: 3px;
}
.margin-b-25 {
    margin-bottom: 25px;
}

@media screen and (max-width:1199px){

    .content-item {
        min-height: 470px !important;
    }

    .background p {
        line-height: 22px;        
    }
    .background p,
    .background li {
        font-size: 13px;
    }
    .background h2 {
        margin-bottom: 15px !important;
    }
    p {
        margin: 0 0 10px;
    }
    .btn {
        margin-top: 15px;        
    }
    .background {
        background-color: #fff;        
    }
    .last {
        min-height: 235px !important;
    }
    textarea#message {
        height: 125px;
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {

    .background {
        padding: 15px;
    }
    .background.content-item-1 {
        padding: 0 20px;
    }
    .btn {
        margin-top: 10px;
    }
    .btn-contact {
        margin-top: 0;
    }
    .form-control {
        font-size: 0.9em;
    }
}

@media screen and (max-width:991px){
    .content-item {
        min-height: inherit !important;
    }
    .content-item img {
        min-height: inherit !important;
    }
    .fixed-header ul li a {
        padding: 10px 15px;
    }
    .background p {
        line-height: 27px;
    }
    .background p,
    .background li {
        font-size: 16px;
    }
    .background h2 {
        margin-bottom: 20px;
    }
    p {
        margin: 0 0 20px;
    }
    .btn {
        margin-top: 20px;        
    }
    .last {
        min-height: 284px !important;
    }
    textarea#message {
        height: inherit;
    }
    .event_commentfield{width:100% !important;}
    .comments{display:block;width:100% !important;} 
}

@media screen and (max-width:767px){
    .profil_udaje input{width:100px}
    .last {
        min-height: inherit !important;
    }
    .fixed-header.scroll .navbar-brand {
        padding: 12px 15px 0;
    }
    .navbar-toggle {
       display:block;
       top: 15px;
       background-color: white;       
    }
    .fixed-header.scroll .navbar-toggle {
        top: 8px;
    }
    .navbar-toggle .icon-bar {
        background-color: #006699;
    }
    
    .fixed-header ul li a:hover, 
    .fixed-header ul li .current {
        border-top: none;
    }
    .fixed-header {
        padding: 5px 0;
    }
    .fixed-header ul li a {
        font-size: 1em;
    }
    .main-menu ul {
        width: 100%;
        background-color: #023D69;
    }
    .main-menu {
        max-height: 0;
        transition: max-height 0.3s;
        overflow: hidden;
    }
    /* http://css3.bradshawenterprises.com/animating_height/ */
    .main-menu.show {
        max-height: 250px;
        overflow: auto;
    }
    .main-menu ul li {
        display: block;
        padding: 10px 0px;
        width: 100%;
        float:left;
    }
    .main-menu ul li a {
        padding: 0px 0px;
        width: 100%;
        float: left;
    }
    #home {
        padding-top: 62px;
    }
    .pad-l-3 {
        padding-left: 15px;
    }
}

@media screen and (max-width:500px) {
    .btn {
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .background.content-item-1 {
        padding: 40px 45px;
    }
}

@media screen and (max-width: 420px) {
    .background {
        padding: 4px 10px;  /* updated by Vitas */
    }
    .background.content-item-1 {
        padding: 20px 25px;
    }
}


/* Optional: Make sure it doesn't affect other screen sizes */
@media screen and (orientation: landscape) {
    .calendar {
        width: auto; /* You can set a default width for larger screens */
    }
}
.img_thumb{width:150px;height:150px}
input.tiny{width:40px}
table.taglist td{padding:2px}
.profimgtd{padding-left:0px}
.evt_date{font-weight: 500}
.evt_name{font-size: 16pt; font-weight: 600;}
.evt_place{color:#65686c;font-weight: 500}
.showmorespan{display:none}
.tags{line-height: 2.5}
a.permalink{color:black}
img.profimgtiny{width:40px;height:40px}
img.profimgmedium{width:100px;height:100px}
.commentbutton{width:120px}
.icon_eventaction{vertical-align: -.15em;}
.eventaction{
    color:white;
    background-color:#7784be;
    border:1px solid; border-radius: 4px;
    padding:2px;
    line-height: 2.5;
    font-size: small;
}
.willattend{color:navy}
.commentLiked{color:#337ab7 !important; font-weight: 600;}
/*.attendeeslist{display:none}*/
.comments{display:none;width:75%}

.event_commentdiv0{
    width:70%;
    min-height:70px;
    display: flex;
    flex-direction: row;
    border-color: #ececf0;
    border-radius: 15px;
    background: #ececf0;
    padding: 10px;
    margin-bottom:10px;
}
.event_commentfield{
    width:100%;
    margin:5px;
    flex:1;
    white-space: nowrap;
    overflow:auto;
    text-overflow: inherit;
   -webkit-user-select: auto;
           user-select:  auto;
      -moz-user-select: -moz-text;
}
[contenteditable]:focus {
    outline: 0px solid transparent;
}
.commentfield_buttons{
    text-align: right;
    min-height:100%;
    display: flex; /* Make the div a flex container */
    flex-direction: column; /* Stack items vertically */
    justify-content: flex-end; /* Align items to the end (bottom) of the container */
    /*border:1px solid;*/
    margin-left: 10px;
    padding-top:15px;
    justify-content: flex-end;
}
.comment{
    border:1px solid;
    border-color: #ececf0;
    border-radius: 15px;
    background: #ececf0;
    padding: 6px;
    overflow-wrap: break-word;
    /*font-size: small;*/
}
.profimgtdcomment{
    vertical-align: top;
    text-align:right;
    padding-right:0px;
}
.depth1{padding-left:1.5em}
.depth2{padding-left:3em}
.depth3{padding-left:4.5em}
.depth4{padding-left:6em}
.commenthead{font-weight: 500}
.undercomment{margin-left:10px;color:#65686c;font-weight: 500}
.undercomment a{color:#65686c;}
.undercomment a:hover{text-decoration: underline;}
table.userlist{width:100%; border:0px outset}
table.userlist td{padding:10px; border:0px solid}
table.userlist td:nth-child(1){text-align:right; width:20%}
.userlist .jmeno {font-weight: 500;}

.calendar_double {
    width: 200vw; /* Set the div's width to twice the viewport's width */
 /* Just to make it visible */

}
.calendar{padding:0px !important}
.eventPhotoThumb{width:150px}