/*==================================================
=                    Fonts                         =
==================================================*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700);

@font-face {
    font-family: 'quarterly_thin_brk';
    src: url('../fonts/quarthin-webfont.eot');
    src: url('../fonts/quarthin-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/quarthin-webfont.woff2') format('woff2'),
         url('../fonts/quarthin-webfont.woff') format('woff'),
         url('../fonts/quarthin-webfont.ttf') format('truetype'),
         url('../fonts/quarthin-webfont.svg#quarterly_thin_brknormal') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'scriptinaregular';
    src: url('../fonts/scriptina-webfont.eot');
    src: url('../fonts/scriptina-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/scriptina-webfont.woff') format('woff'),
         url('../fonts/scriptina-webfont.ttf') format('truetype'),
         url('../fonts/scriptina-webfont.svg#scriptinaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*==================================================
=               Basic styles                       =
==================================================*/

body {
    background-color: #fbfaf6;
    color: #808285;
    font-family: 'Open Sans Condensed' !important;
    font-weight: 300;
    font-stretch: condensed; 
    font-size: 15px;
}

a { color: #bb9b57; }

a:hover, a:active, a:focus {
    outline: 0;
    color: #dcccb0 !important;
    text-decoration: none;
}

label {
    font-weight: 300;
}

/*==================================================
=                   Pages                          =
==================================================*/

/* Home Page */

#home-main-menu {
    margin-top: 100px;
}

.col-home {
    float: left;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.home-logo     { width: 23%; }
.home-calendar { width: 12%; }
.home-courses  { width: 11%; }
.home-parties  { width: 14%; }
.home-artwine  { width: 10%; }
.home-space    { width: 11%; }
.home-kids     { width: 19%; }

#home-bottom-menu {
    margin-top: 120px;
    text-align: center;
}

.home-copyright {
    font-family: quarterly_thin_brk;
    font-size: 10px;
    color: #d6be92;
    letter-spacing: 2px;
}

#home-footer {
    text-align: center;
}

#home-footer ul {
    display: inline-block;
}

/* Main Navigation */

ul#main-menu {
    display: table;
    width: 100%;
    margin: 0 0 10px;
}

ul#main-menu  > li {
    display: table-cell;
    width: auto;
    white-space: nowrap;
    text-align: center;
}
ul#main-menu  > li:first-child {
    padding-left: 0;
    text-align: left;
}
ul#main-menu  > li:last-child {
    padding-right: 0;
    text-align: right;
}

ul#main-menu > li > a {
    font-family: quarterly_thin_brk;
    color: #bb9b57;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer Navigation */

.list-inline > li {
    padding: 0;
}

.bottom-menu-list {
    margin-bottom: 0;
}

.bottom-menu-list  > li {
    display: table-cell;
    color: #bb9b57;
    font-family: quarterly_thin_brk;
    font-size: 12px;
    padding: 0 20px;
}

.bottom-menu-list  > li > a{
    color: #bb9b57;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.bottom-menu-mobile {
    margin-bottom: 20px;
    text-align: center;
}

.bottom-menu-mobile  > li {
   /* display: table-cell; */
    color: #bb9b57;
    font-size: 14px;
    padding: 0 5px;
}

.bottom-menu-mobile  > li > a{
    color: #bb9b57;
    text-transform: uppercase;
}

/* All Pages */

.page-header {
    position: relative;
    border: 0;
    margin: 0;
    padding: 0;
}

.page-logo {
    position: absolute;
    top: 45%;
    left: 0;
    width: 22%;
}

.page-intro {
    text-align: justify;
}

#page-bottom-menu {
    text-align: center;
}

#page-bottom-menu > li {
    vertical-align: middle;
}

.copy-image {
    width: 110px;
    height: 110px;
}

.copy-stealing {
    font-size: 16px;
}
.copy-aartwerk {
    font-size: 10px;
}
.copy-rights {
    font-size: 10px;
}

/* Calendar page */

table.calendar {
    border: 1px solid transparent;  
}

table.calendar > thead.calhead {
    position: relative;
}

table.calendar > thead.calhead:before,
table.calendar > thead.calhead:after {
    background: #bb9b57;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    width: 120%;
}
table.calendar > thead.calhead:before {
    top: 22%;
}
table.calendar > thead.calhead:after {
    bottom: 34%;
}

table.calendar > thead > tr > th { 
    text-align: center; 
    width: 14.3%; 
    padding: 6px 0 !important; 
    font-weight: normal;
    text-transform: uppercase;
    color: #bb9b57;
    font-family: 'quarterly_thin_brk', 'Open Sans Condensed', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
}

table.calendar > thead > tr > th { 
    border: 1px solid #fbfaf6; 
    border-bottom: 1px solid #b99856; 
    background-color: #fbfaf6;
}

table.calendar > tbody { 
    border-top: 1px solid #b99856; 
}

table.calendar > tbody > tr > td { 
    border: 1px solid #b99856; 
}

td.calendar-day     {
    position: relative; 
}

td.calendar-day-np  { 
}

div.day-cell {
    position: relative;
    min-height: 200px;
}

div.day-number      { 
    padding:5px; 
    margin:-5px -5px 0 0; 
    text-align: right; 
    color: #b99856; 
}

/* shared */
td.calendar-day, 
td.calendar-day-np { 
    width: 14.25%; 
    padding: 5px;  
}

.eventtype-2,
.eventtype-3,
.eventtype-2 a,
.eventtype-3 a  { 
    color: #b99856; 
}

.eventtype-1,
.eventtype-1 a { 
    color: #808285; 
}

.white-popup {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
    position: relative;
    background: #fff;
    padding: 20px;
    width: auto;
    max-width: 840px;
    margin: 20px auto;
}
.pop-left {
    color: #92603f;
    font-size: 16px;
}
.pop-left strong,
.pop-left em {
    font-size: 20px;
}
.pop-left a {
    color: #92603f;
    font-size: 24px;
    letter-spacing: 2px;
}
.pop-right {
    font-size: 12px;
    color: #b37500;
}

.event-description {
    text-align: center;
    font-weight: bold;
}

td.calendar-day button { 
    color: #b99856; 
}

img.regbutton {
    width: 56%;
}

.btn-register {
    background: url('/img/calendar/calendar-buttons.png') #faf6f2;
    background-position: 0 0;
    background-repeat: no-repeat;
/*  background-size: 50% 33px; */
    width: 90px;
    height: 33px; 
    border: 0;
    border-color: transparent;
    border-radius: 0;
    padding: 0 12px;
    color: #ad8633 !important;
    font-size: 20px;
}

.btn-register:hover {
    background: url('/img/calendar/calendar-buttons.png') #f8f6f0;
    background-position: 0 -33px;
    color: #d2ac49 !important;
}

.btn-register:active {
    background: url('/img/calendar/calendar-buttons.png') #f3efeb;
    background-position: 0 -66px;
    color: #a88233 !important;
}

.btn-register .btn-sold {
    background: url('/img/calendar/calendar-buttons.png') #f8f6f0;
    background-position: 0 -99px;
    color: #a95e41 !important;
}

.btn-register .btn-closed {
    background: url('/img/calendar/calendar-buttons.png') #f8f6f0;
    background-position: 0 -132px;
    color: #decead !important;
}

.btn-description {
    width: 260px;
    height: 18px;
}

.btn-beveled { /* beveled button*/
    line-height: 1;
    display: block;
    max-width: 300px;
    text-align: center;
    background: #faf6f2;
    padding: 4px 10px;
    margin: 27px auto;
    border-width: 2px 3px;
    border-style: solid;
    border-color: #fff #ebe7e2 #ebe7e2 #fff;
    text-transform: uppercase;
    color: #808285;
}
.btn-beveled:hover,
.btn-beveled:active,
.btn-beveled:focus {
    color: #cca234 !important;
    background: #faf5ef;
} 

/* Mobile calendar: */

.event-row {
    margin-bottom: 15px;
}

.day-header {
    position: relative;
    margin: 0 -15px 15px -15px;
}

.day-header span {
    margin-left: 15px;
}

.day-header:before,
.day-header:after {
    background: #808080;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    width: 100%;
}
.day-header:before {
    top: 10%;
}
.day-header:after {
    bottom: 10%;
}


/* Courses page */

.slider-panel {
    display: none;
    visibility: hidden;
    position: relative;
    height: 0; /*me*/
}

.project-slider {
    display: none;
    height: 0;
    width: 100%;
}
.project-slider-active {
    display: block;
    height: auto;
}

.slide-caption {
    color:  #bb9b57;
    text-align: center;
    line-height: 1em;
}

.slick-slide img {
    height: 270px;
}

#slider-animation {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    margin: 0 auto;
}

#slider-img-container {
    width: 100%;
    height: 360px;
    display: block;
    text-align: center;
    overflow: hidden;  
}

.course-item {
    cursor: pointer;
}

/*slider intro animation*/
.sl-ani-left, .sl-ani-right {
    position: absolute;
    top: 0; left: -9%;
    width: 59%; height: 100%;
    background: url('../assets/slick/img/slick-ani-sprite.png') no-repeat top left #fbfaf6;
    background-size: auto 714px;
    z-index: 10;
}
.sl-ani-left {
    background-position: right 0;
}
.sl-ani-right {
    left: auto; right: -9%;
    background-position: left -357px;
}
/* end slider intro animation*/

/* course images hover */
.course-item img:nth-child(2) {
    position: absolute; top: 0; left: 0;
    height: auto; width: 100%;
    opacity: 0;
}
.course-item:hover img:nth-child(2) {
    opacity: 1;
}
.course-item.no-hover-img:hover img:nth-child(2) {
    opacity: 0;
}

.panel-shadow {
    box-shadow: inset 0px -5px 5px 0px rgba(153,153,153,0.3);
}

#courses-body {
    margin-bottom: 20px;
}

/* end course images hover */

/* Private parties page */


/* Art & Wine page */

.slick-slide img {
    padding: 5px;
}

/*mali slajder*/
#slide-artwine .slick-slide img {
   height: 128px;
}

.course-description {
    text-align: justify;
}

.project-description {
    text-align: justify;
    display: none;
}

.project-description-mobile {
    margin-top: -30px;
}

/*pop-up*/
#artwine .mfp-img {
    padding: 0;
    max-height: 400px;
    box-shadow: 4px 5px 16px rgba(87, 63, 11, 0.7); 
}
/*skloni belu sa popup bcgr*/
#artwine .mfp-bg {
    background: none;
}
/*close button*/
#artwine .mfp-close {
    width: 30px; height: 30px;
    color: transparent;
    margin-right: 7px;
    cursor: pointer;
}
#artwine .mfp-close:before,
#artwine .mfp-close:after {
    content: ""; display: block; width: 15px; height: 2px;
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: #edd68d;
    margin: auto;
    border-bottom: 1px solid #c9b35e;
    border-radius: 5px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
#artwine .mfp-close:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* Contact page */

#contact-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 22%;
}

#contact-line {
    margin-top: -190px;
    position: relative;
    z-index: -100;

}

#contact-menu {
/*  background: transparent url('/img/contact/contact-line.png') no-repeat 50% 18%;
    margin-bottom: 200px;*/
}

#contact-menu > #main-menu {
    margin: 0;
    padding: 0;
    width: 78%;
    margin-left: 22%;
    margin-top: 180px;
}
#page-contact h3 {
    font-family: 'scriptinaregular', script !important;
    font-weight: normal;
    color: #7c662b;
    margin-bottom: 30px;
}
#page-contact p {
    color: #7c662b;
}
#page-contact img {
/*  width: 75%; height: 75%;*/
}

#contact-wrapper {
    background: transparent url('/img/contact/contact-form-bg.png') no-repeat top center;
    background-size: contain;
}

#contact-form {
    margin-top: -50px;
    padding-left: 25%;
    padding-right: 25%;
    padding-bottom: 240px;
    padding-top: 60px;
}


#contact-form .form-control {
    display: block;
/*  height: 36px; */
    width: 100%; 
    border: none;
    border-radius: 0 !important;

    font-size: 16px;
    font-weight: 300;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid #757575;
}

#contact-form label {
    font-weight: 300;
    color: #7c662b;
}

/* Responsive Google Map hack: */
.google-maps {
    position: relative;
    padding-bottom: 75%; /* This is the aspect ratio */
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Subscribe page */

#page-subscribe p {
    color: #7c662b;
}
#page-contact img {
/*  width: 75%; height: 75%;*/
}

#subscribe-wrapper {
    background: transparent url('/img/subscribe/subscribe-form-bg.png') no-repeat top center;
    background-size: contain;
}

#subscribe-form {
    padding: 25% 25% 30% 25%;
}


#subscribe-form .form-control {
    display: block;
/*  height: 36px; */
    width: 100%; 
    border: none;
    border-radius: 0 !important;
    font-size: 16px;
    font-weight: 300;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid #e7e0d4;
}

#subscribe-form label {
    font-weight: 300;
    color: #7c662b;
    font-size: 21px;
}

.submitbutton {
    width: 165px;
    height: 48px;
    text-align: center;
}

/* Registration page */

#registration-page {
    margin-top: 30px;
}

#registration-page h2,
#registration-page h3 {
    font-family: 'scriptinaregular', script !important;
    font-weight: normal;
    color: #7c6725;
    margin-bottom: 30px;
}

#registration-page h2 {
    font-size: 48px;
    color: #b39b6c;
    margin-top: 0; margin-bottom: 60px;
}


#registration-page p {
    color: #7c662b;
}

#order-form .form-control {
    display: block;
/*  height: 36px; */
    width: 100%; 
    border: none;
    border-radius: 0 !important;
    font-size: 16px;
    font-weight: 300;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid #e7e0d4;
}

#order-form label {
    font-weight: 300;
    color: #7c662b;
}

#order-event {
    font-size: 18px;  
}

#order-total {
    font-size: 24px;  
    padding-top: 20px;
}

#note-message { 
    padding-top: 60px;
}

#note-wrapper {
    background: transparent url('/img/contact/contact-form-bg.png') no-repeat top center;
    background-size: contain;
}

#note-form {
    margin-top: -50px;
    padding-left: 30%;
    padding-right: 28%;
    padding-bottom: 240px;
    padding-top: 60px;
}

.paybutton {
    width: 163px;
    height: 48px;
    text-align: center;
}


/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

    #mobile-header {
        display: block;
    }

/*  .course-item:hover img:nth-child(2) {
      opacity: 0;
*/  }

    #artwine .page-slider {
        padding:  20px 15px 30px 15px;
    }
  
    #artwine .page-slider {
        padding:  20px 15px 30px 15px;
    }

    .home-copyright {
        padding-top: 10px;
        text-align: center;
        font-size: 12px;
    }

    .page-intro {
        margin: 15px 0;
    }

    #page-bottom-menu {
        margin-top: 40px;
    }
    .menu-row {
        padding-right: 15px;
    }
    .calendar-row {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slider {
        padding:  15px 15px 30px 15px;
    }
    .course-item {
        padding: 0 0 15px;
    }   
    .course-description {
        padding-right: 15px;
    }

    .day-header { 
        color: #b49044;
/*        font-size: 12px;
        letter-spacing: 2px; */
    }
     
    img.regbutton {
        width: 120px;
    }

    img.cal-img { 
        max-width: 130px; 
    }
    
    #home-mobile-menu {
        padding-bottom: 15px;
    }

    #home-menu-m {
        padding-bottom: 15px;
    }
    
    #home-top-menu-m {
        padding-top: 25px;
        text-transform: uppercase;
        text-align: center;
    }
    
    #home-top-menu-m > li {
        padding: 5px 0;
    }
    
    .home-icons-m {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .home-icons-m > .col-xs-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    #home-social-m {
        padding-bottom: 15px;
        padding-left: 20px;
        padding-right: 25px;      
    }

    #home-social-m > div {
        padding-left: 0;
        padding-right: 0;     
    }
    
    .pad0 { padding-left: 0; padding-right: 0;}
    .padl0 { padding-left: 0; }
    .padr0 { padding-right: 0; }
    .padl5 { padding-left: 5px; }
    .padr5 { padding-right: 5px; }
    .padl10 { padding-left: 10px; }
    .padr10 { padding-right: 10px; }

    #contact-header {
        min-height: 160px;
    }

}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

    .page-intro {
        margin-bottom: 15px;
        padding-right: 15px;
    }
    #page-bottom-menu {
        margin-top: 40px;
    }
    .menu-row {
        padding-right: 15px;
    }
    .calendar-row {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slider {
        padding:  15px 15px 30px 15px;
    }
    #artwine .page-slider {
        padding:  30px 15px 60px 15px;
    }
    .course-item {
        padding: 0 0 15px;
    }   
    .course-item img:nth-child(2) { /*hover slika*/
        /*top: 15px;*/
    }
    .course-row:first-child .course-item {
        /*padding: 0;*/
    }
    .course-row:first-child .course-item img:nth-child(2) { /*hover slika*/
        /*top: 0;*/
    }
    .course-description {
        padding-right: 15px;
    }
    .slider-panel {
        top: -10px; /*me*/
    }
    td.calendar-day img.cal-img { 
        max-width: 60px; 
    }
    table.calendar > thead > tr > th { 
        font-size: 12px;
        letter-spacing: 2px;
    }

    img.regbutton {
        width: 90%;
    }

}


/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    #mobile-header {
        display: none;
    }

    .home-copyright {
        margin-top: -20px;
        margin-left: 15px;
        font-size: 10px;
        text-align: left;
    }

    ul#main-menu  > li {
        padding: 0 20px;
    }
    ul#main-menu > li > a{
        font-size: 12px;
    }
    .page-intro {
        margin-bottom: 20px;
        margin-left: 6%;
        padding-right: 30px;
    }
    #page-bottom-menu {
        margin-top: 60px;
    }
    .menu-row {
        padding-right: 30px;
    }
    .calendar-row {
        padding-left: 15px; /* padding-left: 15px; !!!! */
        padding-right: 15px;
    }

    .page-slider {
        padding:  15px 30px 30px 15px;
    }

    #artwine .page-slider {
        padding:  0 15px 50px 15px;
    }

    .courses {
        margin-left: 6%;
        padding-right: 6%;
    }
    .course-item {
        padding: 0 0 30px;
    }   
    .course-item img:nth-child(2) { /*hover slika*/
        /*top: 30px;*/
    }
    .course-row:first-child .course-item {
        /*padding: 0;*/
    }
    .course-row:first-child .course-item img:nth-child(2) { /*hover slika*/
        /*top: 0;*/
    }

    .course-description {
        padding-right: 30px;
    }

    .slider-panel {
        /*width: 90%;*/
        top: -15px;
    }

    table.calendar > thead > tr > th { 
        font-size: 14px;
    }

    td.calendar-day img.cal-img { 
        max-width: 90px; 
    }
    img.regbutton {
        width: 90%;
    }

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    ul#main-menu  > li {
        padding: 0 30px;
    }

    ul#main-menu > li > a{
        font-size: 14px;
    }

    .page-intro {
        margin-bottom: 30px;
        margin-left: 16.6667%;
        padding-right: 60px;
    }

    #page-bottom-menu {
        margin-top: 80px;
    }

    .menu-row {
        padding-right: 60px;
    }

    .calendar-row {
        padding-left: 45px; /* 15px !!!! */
        padding-right: 45px;
    }

    .page-slider {
        padding:  15px 60px 60px 15px;
    }

    #artwine .page-slider {
        padding:  0 15px 50px 15px;
    }

    .courses {
        margin-left: 16.6667%;
        padding-right: 5%;
    }

    .course-item {
        padding: 0 0 30px;
        /*padding: 30px 0 0 0;*/
    }
    .course-item img:nth-child(2) { /*hover slika*/
        /*top: 30px;*/
    }
    .course-row:first-child .course-item {
        /*padding: 0;*/
    }
    .course-row:first-child .course-item img:nth-child(2) { /*hover slika*/
        /*top: 0;*/
    }

    .course-description {
        padding-right: 60px;
    }
    
    div.courses {
        padding-right: 5%;
        padding-left: 5%;
    }

    td.calendar-day img.cal-img { 
        max-width: 115px; 
    }

    table.calendar > thead > tr > th { 
        font-size: 16px;
        letter-spacing: 2px;
    }
    img.regbutton {
        width: 66%;
    }

    .slider-panel {
        width: 100%;
        top: -18px; /*me*/
    }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    td.calendar-day img.cal-img { 
        max-width: 146px; 
    }
    table.calendar > thead > tr > th { 
        font-size: 18px;
        letter-spacing: 2px;
    }
    img.regbutton {
        width: 66%;
    }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1600px) {
    td.calendar-day img.cal-img { 
        max-width: 200px; 
    }
    img.regbutton {
        width: 60%;
    }
}


/* Landscape Phones */ 
@media only screen and (min-width : 480px) 
	and (max-width : 768px) 
	and (orientation: landscape) {

	#home-mobile-menu {
		width: 75%;
		margin: 0 auto;
	}
}

@media only screen 
  and (min-width: 320px) 
  and (max-width: 732px)
  and (orientation: landscape) {


	.container-fluid .container-mobile {
		width: 360px;
		
	}
	
	.container-fluid {
		max-width: 360px;
		
	}

}



/*==================================================
=            Mobile Version                        =
==================================================*/



.menu-button {
    cursor: pointer;
    position: absolute;
    position: fixed;
    top: 10px;
    right: 10px;
    color: #ccc;

    display: block;
    text-align: center;
    height: 36px;
    width: 36px;

    font-size: 2em;
    padding-top: 4px;
    z-index: 10;

    background: url(../img/menu-button.png) no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    text-indent: -9999px;

}

.menu-button span {
    visibility: hidden
}

/*

http://stackoverflow.com/questions/15176714/responsive-table-handling-in-twitter-bootstrap
https://css-tricks.com/responsive-data-tables/
*/
