/*
 Theme Name:     Enfold Child Theme
 Theme URI:      
 Description:    Enfold Child Theme
 Author:         Optiweb
 Author URI:     
 Template:       enfold
 Version:        1.0.0
*/

@font-face {  
    font-family: jack;
    src: url(fonts/CHEDDAR-JACK.TTF);
}

.hvala_text{    width: 50%;    background-color: #242424;padding: 1vw 2vw 0.5vw;}

@media only screen and (max-width: 413px) {
  #thank-you{
    background-image: url(https://www.barman.si/wp-content/uploads/2020/08/mobile-hvala.jpg)!important;
  }
}

                                /*//////////////////
                                      FONT-SIZE
                                //////////////////*/

.ime h1 { font-size: 6.2vw; }

#top .storitve div:first-child h3, #top .mnenjaOut h2, .mesanjeIn h2, #top .novice h2, .avia-single-number, .avia-no-number, #top .text h1  { font-size: 62px; }

#top .storitve div:nth-of-type(n+2) h3 { font-size: 36px; }

.poklic h4 { font-size: 1.56vw; }

.responsive #top #wrap_all .main_menu li a span, .responsive #top #wrap_all #header .sub-menu a span{
    font-size: 16px; 
    text-transform: uppercase !important;
    letter-spacing: 1px!important;
    font-family: "Open Sans";
    line-height: 22px;
}

#top .av-large-testimonial-slider .avia-testimonial-name { font-size: 26px; }

#top .storitve div:first-child .grid-entry-excerpt, .mnenja section p, .mesanjeIn p, #top .novice p, .statistika-text p { font-size: 20px; }

#top .gumb a span{ 
    font-size: 16px;
    text-transform: uppercase !important;
    font-family: "Open Sans"!important;
}

#top #footer .widget_nav_menu li, #footer .first .widgettitle { font-size: 20px; }

#footer .first .textwidget, #footer #text-3, .copyright { font-size: 18px; } 


                                /*//////////////////
                                    FONT-FAMILY
                                //////////////////*/

.ime h1 { font-family: jack; }

.poklic h4, #top .storitve div:first-child .grid-entry-excerpt, .avia-testimonial-name, #footer .first .textwidget, #footer #text-3 
    { font-family: "Open Sans", sans-serif; }

.mnenja section p { 
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-style: italic;
    line-height: 28px;
}

.mnenja section p strong{ 
    font-style: normal;
}

.mesanjeIn p, #top .novice p { 
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
}

#top .gumb a, .statistika-text p, #footer .first .widgettitle, #top #footer .widget_nav_menu li, .copyright
    { font-family: "Noto Serif", serif; }

#top .storitve div:first-child h3, #top .storitve div:nth-of-type(n+2) h3, #top .mnenjaOut h2, .mesanjeIn h2, #top .novice h2, .avia-single-number, .avia-no-number { 
    font-family: "Noto Serif", serif; 
    font-weight: 700;
}



                                /*//////////////////
                                       GENERAL
                                //////////////////*/

#top * { 
    text-transform: none;
    letter-spacing: normal !important;
}

.image-overlay-inside, #top .overlay-type-extern, #scroll-top-link, .av-frame-bottom { 
    display: none;
    z-index: -1;
}

.grid-entry .inner-entry { box-shadow: none; }

.av-frame-top { position: absolute; }

.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 0 !important; } /* stran do vrha (pod header) */


                                /*//////////////////
                                    HEADER/BANNER
                                //////////////////*/

.logo { 
    top: 2vw;
    width: 19vw;
}

#top .scrolled {
    line-height: 4vw !important;
    height: 4vw !important;
}

.main_menu li a, #header {
    line-height: 6vw !important;
    height: 6vw !important;
}

.sub-menu li a {
    line-height: 50px !important;
    height: 50px !important;
}

#top #header .sub-menu .scrolled {
    line-height: 50px !important;
    height: 50px !important;
}

#top #header .sub-menu, #top #header .sub-menu li, #top #header .sub-menu li a { 
    width: 15.5vw;
    margin-left: 0; 
    max-width: 288px;
}

#top #header .sub-menu li a { 
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#top .header_bg { opacity: 0.8; }

.main-banner .av_one_third { 
    padding: 23.8vw 0 27.9vw 0;
    width: auto;
}

#top .ime h1 {
    font-weight: 400;
    margin: -4%;
    text-shadow: 2px 0px 2px #242424;
}

.poklic h4 { 
    margin: 0 5% -17% 0;
    font-weight: 400;
    text-align: right;
}

#top #header li { margin-left: 3vw; }

#top #header li a { font-weight: 100; }

#top .sub-menu li a:hover { transform: none; }

#top .menu .current-menu-item a { 
    cursor: default;
}

#top .menu .current-menu-item a span{ 
    border-bottom: solid 1px #fff;
}

#top .sub-menu .current-menu-item a span{ 
    border-bottom: none;
}

#top .main_menu .menu-item-type-custom a { cursor: pointer; }

#menu-glavnimeni .sub-menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

#menu-glavnimeni .sub-menu li { height: 30px; }

                                /*//////////////////
                                       STORITVE
                                //////////////////*/

#top .storitve { margin-top: 8%; }

#top .storitve div:first-child h3 { 
    font-style: normal;
    text-align: left;
    margin: 15% 0 0 5%;
    line-height: 1;
    padding-right: 5%;
    pointer-events: none;
}

#top .storitve div:first-child .grid-entry-excerpt {
    color: #242424;
    text-align: left;
    font-style: normal;
    margin: 4% 5%;
    line-height: 28px;
}

#top .storitve .grid-content { padding: 2.5%; }

.avia-arrow { display: none; }

#top .storitve div:nth-of-type(n+2) h3 {
    color: #fff;
    margin: -20% 8%;
    background: none;
    text-align: right;
    position: relative;
    z-index: 500;
    transition-duration: 0.5s;
    text-shadow: 2px 0 2px #242424;
    font-size: 33px;
    letter-spacing: 1px!important;
}

#top .storitve div:nth-of-type(n+2):hover h3 {
    transition-duration: 0.5s;
    margin-top: -37%;
}

#top .storitve div:nth-of-type(n+2) img {
    filter: url(filters.svg#brightness); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: brightness(80%); /* Google Chrome & Safari 6+ */
    transition-duration: 0.5s;
}

#top .storitve div:nth-of-type(n+2) img:hover {
    filter: none;
    -webkit-filter: brightness(50%);
    transition-duration: 0.5s;
} 

#top .storitve div:nth-of-type(n+2) .grid-entry-excerpt {
    margin: -18% 3% 0 0;
    opacity: 0;
}

#top .storitve .gumb {  
    width: 14.5vw;
    height: 2.9vw;
    max-width: 300px;
}

#top .storitve .gumb a {
    width: 100%;
    min-width: 100%;
    font-style: normal;
    color: #242424;
    background: #fff;
    border: none;
}

@keyframes button {
    0% { margin: -18% 5% 0 0; opacity: 0; }
    50% { margin: 21% 5% 0 0; opacity: 0; }
    100% { margin: 21% 5% 0 0; opacity: 1; }
}

#top .storitve div:nth-of-type(n+2):hover .grid-entry-excerpt { 
    animation: button 0.5s;
    animation-fill-mode: forwards;
}

#top .storitveCS .no_margin.av_one_third { /* širina posamezne storitve */
    width: 31.85%;
    margin: 0 0.74%;
}


                                /*//////////////////
                                       MNENJA
                                //////////////////*/

#top #glavna-mnenja { padding: 5% 0 0; }

#top .mnenjaSlika { 
    position: absolute;
    left: -5%;
    bottom: -13%;
}

#top .mnenjaSlika img { width: 90%; }

#top .mnenjaCS { padding: 0 0 15%; }

#top .mnenjaCS .mnenjaOut {
    width: 84%;
    z-index: 0;
    height: 590px;
    padding-top: 2%;
    margin-top: 10%;
    float: right;
}

#top .av-large-testimonial-slider .avia-testimonial-name { margin: 0 0 2%; }

#top .avia-testimonial-subtitle {
    font-size: 18px;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
}

#top .mnenja { 
    text-align: left;
    margin: auto 20%;
    width: 68%;
    padding: 30px 0 0 0; 
}

#top .mnenjaOut h2 {
    width: 80%;
    line-height: 1;
    margin-bottom: 0;
    padding: 0 100px;
}

#top .mnenja .prev-slide { display: none; }

#top .mnenjaOut .avia-slideshow-arrows a {
    opacity: 1;
    position: absolute;
    left: 100%;
    margin-top: 30%;
    font-size: 1.7vw;
    overflow: visible;
}

#top .av-large-testimonial-slider .avia-testimonial-content { padding: 0 0 3px 0; }

#top .av-large-testimonial-slider .avia-testimonial-meta .avia-testimonial-image {
    width: 10vw;
    height: 10vw;
}

#top .mnenjaCS .mnenjaOut .avia-testimonial-image { /* slika avtorja mnenja */
    position: absolute;
    margin: -73% 0 0 120%;
    box-shadow: 1px 0px 3px 2px #c0c0c0;
}

#top .av-large-testimonial-slider .avia-testimonial-meta, .mnenjaCS .avia-testimonial-image img { width: 100%; }

div.avia_textblock.poglej_reference {
    margin: auto 20%;
    width: 68%;
    font-size: 18px!important;
    font-family: "Open Sans";
}

div.avia_textblock.poglej_reference p {
    width: 90%;
    padding: 0 100px;
}

        /***************** partnerji *****************/

#top .partners a { background: none; }

#top .partners img {
  filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */
}

#top .partners img:hover {
  filter: none;
  -webkit-filter: none;
}

#top .partnersOut {
    width: 68%;
    float: right;
    margin-top: 2%;
}

                                /*//////////////////
                                      MESANJE
                                //////////////////*/

#top .mesanjeCS { padding-top: 10%; }

#top .mesanjeCS .mesanjeOut {
    width: 84%;
    z-index: 0;
    padding-left: 10%;
}

#top .mesanjeOut section {
    width: 68%;
    margin: 7% 0 0 0;
}

#top .mesanjeIn h2 {
    width: 50%;
    margin-bottom: 7%;
}

.mesanjeIn p, .novice p {  line-height: 1.5; }

#top .gumb { 
    margin: 2% 0 9% 0;
    max-height: 50px;
}

#top .gumb a { 
    padding: 1vw 2vw 1vw;
    border-radius: 0;
}

#top .gumb a:hover {
    background: #353535;
    transition-duration: 0.5s;
}

#top .mesanjeSlika { 
    left: 60%;
    position: absolute;
    bottom: -10%;
}

#top .mesanjeSlika img { width: 82%; }


                                /*//////////////////
                                      NOVICE   
                                //////////////////*/

.noviceCS { padding-top: 9%; }

#top .novice {
    width: 740px;
    position: absolute;
    top: 2%;
    left: 40%;
}

#top .novice h2 {
    line-height: 1;
    margin-bottom: 2%;
    width: 50%;
}

.fts-instagram-inline-block-centered .slicker-instagram-placeholder {
     width: 440px;
    height: 450px;
}

.fts-instagram-inline-block-centered .slicker-instagram-placeholder:first-child { margin: 10px 930px 10px 10px; }

.fts-instagram-inline-block-centered .slicker-instagram-placeholder:nth-child(n+2) { margin: 10px; }

                                /*//////////////////
                                      STATISTIKA   
                                //////////////////*/

.statistikaCS { padding: 17% 0 5% 0; }

#top .statistika { flex-basis: 15%; }

#top .cocktail, #top .steklenica, #top .kozarci, #top .led {
    background: #ebebeb;
    border-radius: 100%;
    padding: 25.4% 0;
    z-index: -1;
}

#top .cocktail img { margin-left: 6%; }

#top .led img { margin-left: 10%; }

#top .avia-no-number {
    opacity: 1;
    color: #242424;
}

#top .statistika-text { margin-top: -14%; }

.statistika-text p {
    width: 100%;
    line-height: 1.2;
    margin-top: 7%;
}

.statistikaCS .entry-content-wrapper.clearfix {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: baseline;
}

/*////////////////////////////////////////////////////////
                        PODSTRANI
////////////////////////////////////////////////////////*/

#top .text h1, #top .text h2, #top .text h4, .part1 h6, .part2 h6, .part3 h6, .part4 h6, .part5 h6, .part1 h3, .part2 h3, .part3 h3, .part4 h3, .part5 h3, #banner-sredina h4 { 
    font-family: "Noto Serif", serif; 
    font-weight: 700;
}

#top .av-flex-placeholder { width: 1.5%; } /* razmak med slikam */

.opis { margin-top: -7%; }

#top .opis .text {
    position: relative;
    width: 85%;
    padding-left: 7%;
}

.text-inner { width: 79%; }

#top .text h1, #top .text h2 {
    margin-top: 6%;
    font-size: 62px;
}
#top .text h4 {
    margin: 4% 0;
    line-height: 1.3;
    font-size: 24px;
}

#top .text p {
    line-height: 1.36;
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
}

#top .tretjina-text p {
    font-family: "Open Sans", sans-serif;
    font-style: italic;
    line-height: 1.36;
    margin: auto;
    width: 75%;
}

#banner-sredina .banner-sredina-inner h4 { text-shadow: 2px 0 2px #242424; }

#top .tretjina img, #top .sank-desno img { border-radius: 0; }

.part1, .part3, .part4, .part5, #gostinci-part2, #privat-part2  { padding-top: 10%; }

.part2 { padding: 3% 0 7%; }

.part1 h6, .part2 h6, .part3 h6, .part4 h6, .part5 h6 {
    position: absolute;
    font-size: 290px;
    z-index: -1;
    color: #ebebeb;
    top: -15%;
    left: -10%;
}

.part1 h3, .part2 h3, .part3 h3, .part4 h3, .part5 h3 {
    font-size: 62px;
    margin: -20% 0 0 10%;
}

.part2 h3 { margin-top: -5%; }

.part1 p, .part2 p, .part3 p, .part4 p, .part5 p {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    margin-left: 10%;
    width: 85%;
    line-height: 1.36;
}

.ikona1 { width: 3vw; }

.ikona2 { width: 6vw; }

.ikona3 { width: 5vw; }

.ikona4 { width: 4vw; }

.part1 .flex_column_table, .part2 .flex_column_table, .part3 .flex_column_table, .part4 .flex_column_table, .part5 .flex_column_table { margin-bottom: 2%; }

.drugi-cocktail { width: 20vw; }

#top .banner-sredina-inner{ 
    margin-left: 5%;
    padding: 2% 0;
}

#top #banner-sredina .content { padding: 3% 0; }

#banner-sredina h4 {
    font-size: 35px;
    width: 39%;
    padding: 0;
}

#banner-sredina .gumb { margin: 2% 0 0 0;}

#top .dve-tretjini, #top .dve-tretjini-slika { width: 60%; }

#top .dve-tretjini h6 { left: -5%; }

#top .dve-tretjini h3 { 
    margin: -13% 0 0 5%;
    width: 60%;
}

.dve-tretjini p { margin: 3% 0 0 5%; }


/******************************* Poroke ********************************/

#top #poroke .prvi-cocktail {
    left: 67%;
    position: absolute;
    bottom: -34%;
    width: 36%;
}

.rumeni-cocktail { width: 45%; }

/**************************** Poslovni dogodki ****************************/

#top #poslovni .prvi-cocktail, #top .sank, .part3 .drugi-cocktail { position: absolute; }

#top #poslovni .prvi-cocktail {
    width: 15%;
    left: 78%;
    bottom: -10%;
}

#top #poslovni-part2 h6 { margin-top: 20%; }

#top .sank {
    right: 68%;
    width: 32vw;
    top: 33%;
}

#top .sank-desno, #poslovni-part2 .tretjina-text { width: auto; }

#poslovni-part3 .drugi-cocktail {
    top: -22%;
    width: 24vw;
}

#poslovni-part4 { padding-bottom: 7%; }

/******************************** Privat zabave ********************************/

#top #privat .prvi-cocktail {
    position: absolute;
    width: 32vw;
    left: 59%;
    bottom: -37%;
}

#privat .text-inner { width: 63%; }

#privat-part2 .tretjina-sank {
    margin: auto;
    width: 66.6%;
    position: absolute;
}

#top .sank-privat { width: 33vw; }

#privat-part2 { padding-bottom: 15%; }

#top #privat-part2 .tretjina-text:first-child {
    width: auto;
    padding: 3.5% 0;
}

#top #privat-part3 .tretjina .slika { 
    position: absolute;
    top: 12%;
}

#top #privat-part4 { padding: 15% 0 5%; }

#top #privat-part4 .dve-tretjini h3 {
    margin: 0 0 0 5%;
    width: 72%;
}

/******************************** Za gostince ********************************/

#top #za-gostince .prvi-cocktail {
    position: absolute;
    left: 78%;
    bottom: -11%;
    width: 15%;
}

#gostinci-part2 .tretjina h3 { width: 82%; }

#top #gostinci-part2 .drugi-cocktail {
    position: absolute;
    margin-top: -70%;
    width: 18vw;
    left: 19%;
}

/****************************** TOM Caravan Bar ******************************/

#top #tom .prvi-cocktail {
    position: absolute;
    bottom: -15%;
    right: 7%;
    width: 16%; 
}

/******************************** Reference ********************************/

#top #reference-opis .text {
    width: 100%;
    padding: 0;
}

#top #reference-opis .text-inner {
    width: 60%;
    margin: auto;
    padding: 2% 0 5%;
}

#top #reference-opis .text-inner h4 {
    font-size: 35px;
    font-weight: normal;
}

#reference { padding: 6% 0 4%; }

#top #reference .dve-tretjini p { margin: 6% 8%; }

hr {
    border: none;
    height: 1px;
    background: #959595;
    margin: 2vw 4.5vw;
}

.dve-tretjini hr { width: 30%; }

#reference h5 {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 22px;
}

#reference .dve-tretjini, #reference .tretjina { background: #ebebeb; }

#reference .dve-tretjini h5 { margin-left: 8%; }

#reference .tretjina p, #reference .dve-tretjini p { 
    margin: auto;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
}

#reference .avtor p { 
    font-size: 19px;
    font-family: "Open Sans", sans-serif;
    margin-top: 2%;
}

#top #reference .dve-tretjini .avtor p { 
    margin: 1% 8% 0;
    width: 40%;
}

@keyframes knof {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

#top .reference-gumb { 
    font-family: "Noto Serif", serif;
    font-size: 20px;
    padding: 0.5vw 1vw;
    border-radius: 0;
    background: rgba(250,250,250,0.8);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#reference .tretjina:hover .reference-gumb, #reference .dve-tretjini:hover .reference-gumb { animation: knof 0.5s forwards; }

#reference .tretjina:hover .reference-gumb a, #reference .dve-tretjini:hover .reference-gumb a {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
    text-align: center;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10 11 */
    #top .reference-gumb {
        height: 180%;
        max-height: 434px;
    }
}

#reference .dve-tretjini:hover .reference-gumb a { padding: 20% 0; }

#reference .tretjina:hover .reference-gumb a { padding: 45% 0; }

#top #reference .more { 
    background: #242424;
    color: #fff;
    padding: 12px 62px;
}

/**** Popup *****/

[id*='small-dialog'] {
	background: #ebebeb;
    padding: 4.1vw 8.3vw;
    text-align: left;
    max-width: 61vw;
    margin: 40px auto;
    position: relative;
}

[id*='small-dialog'] p {
    font-size: 24px;
    line-height: 1.4;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
}

[id*='small-dialog'] h3 {
    font-size: 22px;
    font-family: "Noto Serif", serif;
    font-weight: 700;
}

[id*='small-dialog'] h5 {
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
}

[id*='small-dialog'] .avtor-slika {
    border-radius: 100%;
    position: absolute;
    width: 21%;
    left: -12%;
    top: 16%;
}

.ref-logo { width: 9vw; }

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out; 
	-moz-transition: all 0.2s ease-in-out; 
	-o-transition: all 0.2s ease-in-out; 
	transition: all 0.2s ease-in-out; 
	-webkit-transform: scale(0.8); 
	-moz-transform: scale(0.8); 
	-ms-transform: scale(0.8); 
	-o-transform: scale(0.8); 
	transform: scale(0.8); 
}
/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: scale(1); 
	-moz-transform: scale(1); 
	-ms-transform: scale(1); 
	-o-transform: scale(1); 
	transform: scale(1); 
}
/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
	-webkit-transform: scale(0.8); 
	-moz-transform: scale(0.8); 
	-ms-transform: scale(0.8); 
	-o-transform: scale(0.8); 
	transform: scale(0.8); 
	opacity: 0;
}
/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out; 
	-moz-transition: opacity 0.3s ease-out; 
	-o-transition: opacity 0.3s ease-out; 
	transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg { opacity: 0.8; }
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {opacity: 0; }

/**************************** Zakaj Izbrati Mene ***************************/ 

.sekcija-2-text h2 { font-size: 62px; }

.sekcija-2-text h4 { font-size: 40px; }

.sekcija-2-text h5, .sekcija-3 h3 { font-size: 35px; }

.sekcija-2-text p { font-size: 20px; }

#top .sekcija-2 { 
    margin-top: -10%;
    padding-bottom: 2%;
}

#top .sekcija-2 .sekcija-2-slika { width: 45%; }

#top .sekcija-2 .sekcija-2-text { width: 55%; }

.sekcija-2 .flex_column_table, .kontakt, .text { box-shadow: 0 13px 10px -5px #aaa; }

.sekcija-2-text h2, .sekcija-2-text h4, .sekcija-3 h3 { 
    font-family: "Noto Serif", serif;
    font-weight: 700;
}

.sekcija-2-text p {
    font-family:  "Open Sans", sans-serif;
    font-weight: 300;
    margin-top: 6%;
    line-height: 28px;
}

#top .sekcija-2 .flex_column_table {
    display: flex;
    flex-wrap: wrap-reverse;
}

.sekcija-2-text h2 { margin-top: 4%; }

.sekcija-2-text h5 {
    font-family: "Noto Serif", serif;
    font-weight: 400;
    width: 50%;
    margin: 2% auto;
}

#top .sekcija-3 .flex_column_table {
    display: flex;
    flex-flow: row wrap-reverse;
    align-items: center;
    justify-content: space-around;
    padding: 4% 15% 8%;
}

#top .sekcija-3 .av-flex-placeholder { display: none; }

#top .sekcija-3-text h3 { padding-bottom: 5%; }

#top .sekcija-3-gumb { margin-top: 6%; }

#top .sekcija-3-gumb a { 
    font-family: "Noto Serif", serif;
    border-radius: 0;
} 

/******************************** Kontakt ********************************/

.kontakt .wpcf7-form {
    width: 60%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: auto;
}

#top .kontakt .sekcija-2-text { width: 100%; }

.kontakt p { flex-basis: 100%; }

#top .kontakt p label { 
    margin: 1%;
    font-size: 18px;
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
}

.kontakt p:nth-child(4), .kontakt p:nth-child(5), .kontakt p:nth-child(6), .kontakt p:nth-child(7) { flex-basis: 48%; }

.kontaktIme, .kontaktEmail, .kontaktDogodek, .kontaktLokacija, .kontaktGosti { height: 60px; }

#top .main_color .input-text, #top .main_color input[type="text"], #top .main_color input[type="input"], #top .main_color input[type="password"], #top .main_color input[type="email"], #top .main_color input[type="number"], #top .main_color input[type="url"], #top .main_color input[type="tel"], #top .main_color input[type="search"], #top .main_color textarea, #top .main_color select, #top .main_color input[type="date"] {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    display: block;
    margin: 1% 0 -3%;
    background: #fff;
    padding: 0 25px;
}

#top .main_color .wpcf7-select {
    background: #fff url(images/arrow.png) no-repeat;
    background-position: 90% 50%;
    background-size: 5%;
    cursor: pointer;
}

#top .Termin {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 2.4em;
}

#top .kontaktTermin { 
    flex-basis: 100%;
    position: absolute;
    width: 100%;
    border: none;
    text-align: left;
    height: 60px;
}

.Termin img {
    position: absolute;
    left: 80%;
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.kontaktKomentar { height: 200px; }

#top .main_color textarea { padding: 25px; }

#top .kontakt .gumb {
    width: 100%;
    max-height: 100%;
    padding: 3% 0;
    font-size: 24px;
    font-family: "Noto Serif", serif;
}

#top .kontakt .gumb:hover {
    background: #353535;
    transition-duration: 0.5s;
}

#top .wpcf7-response-output {
    margin: -5% 0 10%;
    color: #f00;
    border: none;
    font-size: 150%;
}

span.wpcf7-not-valid-tip { margin-top: 4%; } /* validacija */

#top .wpcf7-not-valid-tip { color: #f00; } /* sporočilo NI poslano */

#top .wpcf7-mail-sent-ok { color: #0f0; } /* sporočilo JE poslano */

@-moz-document url-prefix() { /* Mozilla Firefox only */    
    #top .Termin{ margin: 1%; }
    
    .kontaktTermin { left: 0; }
    
    .Termin img { top: 15px; }   
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10 11 */
    #top .Termin{ margin: 1%; }
    
    .kontaktTermin { left: 0; }
    
    .Termin img { top: 15px; }
    
    select::-ms-expand { display: none; }
}

/******************************** 404 napaka ********************************/

#napaka { padding-top: 6.1%; }

#top #napaka .besedilo { 
    font-family: "Noto Serif", serif;
    font-weight: 700;
    left: 15%;
}

#napaka .besedilo h3{ font-size: 62px; }

#napaka .besedilo h4{ font-size: 26px; }

#napaka .besedilo .gumb{ margin: 10% 0 0; }

#top #napaka .gumb a, #top #thank-you .gumb a {
    background: #242424;
    color: #fff;
    text-decoration: none;
    font-family: "Noto Serif", serif;
    font-weight: 700;
    font-size: 26px;
}

/******************************** zahvalna ********************************/

#thank-you { padding: 6% 0 3% 0; }

#thank-you .besedilo { padding: 12% 0 0 5%; }

#thank-you .besedilo h3{
    font-size: 62px;
    font-family: "Noto Serif", serif;
    font-weight: 700;
    margin-bottom: 5%;
}

#thank-you .besedilo h4{
    font-size: 26px;
    font-family: "Noto Serif", serif;
    font-weight: 700;
    line-height: 1.2;
}

#thank-you .besedilo .gumb{ margin: 10% 0 0 0; }

#thank-you .slika {
    padding: 1% 0 1% 0;
    width: 10vw;
}


                                /*//////////////////
                                       FOOTER   
                                //////////////////*/

#footer { padding: 0;}

#top .widgettitle { margin: 0 0 3% 0; }

#footer .textwidget p { line-height: 1.7; }

#footer .container, #menu-footermeni, #menu-footerprogrami {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

#footer .flex_column { margin: 0; }

#footer .flex_column:nth-child(1) { 
    order: 2;
    width: 200px;
}

#footer .flex_column:nth-child(2) {
    order: 3;
    width: 300px;
}

#footer .flex_column:nth-child(3) {
    order: 4;
    width: 600px;
}

#footer .flex_column:nth-child(4) { 
    order: 5;
    width: 50px;
    text-align: right;
}

#footer .flex_column:nth-child(5) {
    order: 1;
    width: 100%;
    margin: auto;
}

#top #menu-footerprogrami {
    width: 1000px;
    margin: auto;
}

#menu-footerprogrami li a { text-transform: uppercase; }

#menu-footerprogrami  { justify-content: space-between; }

#footer hr {
    position: absolute;
    top: 24%;
    left: -50%;
    width: 3000px;
}

#top .copyright {
    text-align: center;
    display: block;
    float: none;
}

#top .copyright img { 
    opacity: 0.5;
    height: 18px !important;
}

                                /*//////////////////
                                     MEDIA QUERY  
                                //////////////////*/

/********************************** 1440 ***************************************/

@media only screen and (max-width: 1440px) {
    
    /*///////// FONT SIZE /////////*/
    
    .part1 h6, .part2 h6, .part3 h6, .part4 h6, .part5 h6 { font-size: 21vw; }
    
    #top .text h1, #top .text h2, .part1 h3, .part2 h3, .part3 h3, .part4 h3, .part5 h3, #napaka .besedilo h3, #thank-you .besedilo h3 { font-size: 4.5vw; }
    
    #top .storitve div:first-child h3, #top .mnenjaOut h2, .mesanjeIn h2, #top .novice h2, .avia-single-number, .avia-no-number, .sekcija-2-text h2 { font-size: 4vw; }
    
    .sekcija-2-text h4 { font-size: 3vw; }
    
    .sekcija-3 h3, .sekcija-2-text h5, #banner-sredina h4, #top #reference-opis .text-inner h4 { font-size: 2.5vw; }

    #top .storitve div:nth-of-type(n+2) h3 { font-size: 2.3vw; }
    
    #napaka .besedilo h4, #top #napaka .gumb a, #thank-you .besedilo h4, #top #thank-you .gumb a { font-size: 2vw; }

    #top .text h4 { font-size: 1.6vw; }
    
    #top .text p, .part1 p, .part2 p, .part3 p, .part4 p, .part5 p,  #top .storitve div:first-child .grid-entry-excerpt, .mnenja section p, .mesanjeIn p, #top .novice p, .statistika-text p, .sekcija-2-text p, #reference h5, [id*='small-dialog'] p { font-size: 20px; }
    
    .main_menu li a, #top .av-large-testimonial-slider .avia-testimonial-name, #top .gumb a, #top .reference-gumb a { font-size: 1.6vw; }
    
    [id*='small-dialog'] h3, #menu-footerprogrami li a { font-size: 1.4vw; }

     #top #header .sub-menu a, #top .avia-testimonial-subtitle, #reference .avtor p, [id*='small-dialog'] h5 { font-size: 1.3vw; }
    
    /*///////// PRVA STRAN /////////*/
    
    #top .main_menu li { margin-left: 2.8vw; }
    
    #top .mnenja { width: 74%; }
    
    #top .mnenjaCS .mnenjaOut { height: 570px; }

    #top .mnenjaOut .avia-slideshow-arrows a { 
        left: 90%;
        margin-top: 28%;
    }
    
    #top .mnenjaCS .mnenjaOut .avia-testimonial-image { margin: -70% 0 0 100%; }
    
    #top .partners img { width: 65%; }
    
    #top .novice { width: 47vw; }
    
    #top .novice h2 { width: 60%; }
    
    #top .novice p { margin: 0; }
    
    .fts-instagram-inline-block-centered .slicker-instagram-placeholder:first-child { margin: 10px 57.7vw 10px 10px; }
    
    #top .slicker-instagram-placeholder {
        width: 27vw;
        height: 27vw;
    }
    
    #top .statistika { flex-basis: 17.6%; }
    
    /*///////// PRODSTRANI /////////*/
    
    .part1, .part2, .part3, .part4, .part5 { padding-top: 12%; }
    
    #top .dve-tretjini h3 { width: 70%; }
    
    #poslovni-part3 .drugi-cocktail { top: -13%; }
        
    #top #poroke .prvi-cocktail { bottom: -30%; }
    
    #top #privat-part4 .dve-tretjini h3 { width: 82%; }
    
    #top #privat .prvi-cocktail { bottom: -26%; }
  
    #footer .flex_column:nth-child(1) { width: 154px; }
    
    #footer .flex_column:nth-child(2) { width: 254px; }

    #footer .flex_column:nth-child(3) { width: 554px; }
}

@media all and (max-width: 1440px) and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10 11 */
        #top .reference-gumb { max-height: 379px; }
    }

/********************************** 1152 ***************************************/

@media only screen and (max-width: 1152px) {
    
    .main-banner .av_one_third { padding-top: 20.8vw; }
    
    #top .storitve div:nth-of-type(n+2) h3 { margin: -20% 0; }
    
    #top .mnenjaCS .mnenjaOut { height: 580px; }
    
    #top .mnenjaCS .mnenjaOut .avia_textblock { padding-bottom: 0; }
    
    #top .mnenjaCS .mnenjaOut .avia-testimonial-image { margin: -85% 0 0 100%; }
    
     #top .mnenja,
     div.avia_textblock.poglej_reference {
        width: 77%;
        margin: 0 0 0 18%;
    }
      
    .fts-instagram-inline-block-centered .slicker-instagram-placeholder:first-child { margin: 10px 56.6vw 10px 10px; }
   
    #top .slicker-instagram-placeholder {
        width: 26vw;
        height: 26vw;
    }

    #top .statistikaCS .avia_image { width: 8vw; } 

    #socket .container { padding-top: 0; }
    
    #footer .container { justify-content: center; }
    
    #footer .flex_column:nth-child(1) { width: 130px; }
    
    #footer .flex_column:nth-child(2) { width: 200px; }

    #footer .flex_column:nth-child(3) { width: 470px; }
    
    #top #menu-footerprogrami { width: 700px; }

    #top #footer .widget_nav_menu li { font-size: 18px; }
    
    #footer .first .widgettitle { font-size: 16px; }
    
    #footer .first .textwidget, #footer #text-3, .copyright { font-size: 14px; }
}

@media all and (max-width: 1152px) and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10 11 */
        #top .reference-gumb { max-height: 312px; }
    }

/********************************** 989 ****************************************/

@media only screen and (max-width: 989px) {

    #top .storitve div:first-child h3 { font-size: 5vw; }
    
    #top .storitve div:first-child .grid-entry-excerpt, .mnenja section p, .mesanjeIn p, #top .novice p, .statistika-text p, .sekcija-2-text p, #reference h5 { font-size: 2vw; }
    
    .avia-testimonial-subtitle  { font-size: 1.5vw; }
    
    .responsive #top .header_bg { opacity: 0.8; }
    
    #top .mnenjaCS .mnenjaOut { height: 460px; }
    
    #top .avia-testimonial-content p { line-height: 1.2; }
    
    #top .mnenjaOut .avia-slideshow-arrows a { 
        left: 80%;
        margin-top: 150px;
    }
    
    #top .mnenja,
    div.avia_textblock.poglej_reference {
        width: 86%;
        margin: 0 0 0 13%;
    }
    #top .mnenjaOut h2 { margin-bottom: 0; }
    
    #top .av-large-testimonial-slider .avia-testimonial-meta { margin: 20px 0 0 0; } 
    
    #top .mnenjaOut .avia-testimonial-name { 
        margin-top: 0;
        margin-bottom: 0; 
        font-size: 1.8vw;
    }
    
    #top .mesanjeOut section { width: 75%; }
    
    .noviceCS { padding-top: 15%; }

    #top .novice {
        width: 80%;
        left: 10%;
        text-align: center;
        position: relative;
    }
    
    #top .novice h2 { width: 100%; }
    
    .fts-instagram-inline-block-centered { margin-top: 30%; }
    
    #top .slicker-instagram-placeholder {
        width: 38vw;
        height: 38vw;
    }
    
    .fts-instagram-inline-block-centered .slicker-instagram-placeholder:first-child { margin: 10px; }
   
    .statistikaCS .entry-content-wrapper.clearfix { justify-content: center; }

    #top .statistika { margin: 2% 10%; }
    
    .sekcija-2-text h2 { margin-bottom: 0; }
    
    .sekcija-2-text p {
        line-height: 2.2vw;
        margin-top: 4%;
        font-family: "Open Sans", sans-serif;
    }
    
     #top .main_color .input-text, #top .main_color input[type="text"], #top .main_color input[type="input"], #top .main_color input[type="password"], #top .main_color input[type="email"], #top .main_color input[type="number"], #top .main_color input[type="url"], #top .main_color input[type="tel"], #top .main_color input[type="search"], #top .main_color textarea, #top .main_color select, #top .main_color input[type="date"] { font-size: 16px; }

    .Termin img { left: 76%; }
    
    #footer .flex_column:nth-child(1) {
        width: 40%;
        text-align: center;
        order: 3;
    }
    
    #footer .flex_column:nth-child(2) {
        width: 40%;
        order: 5;
        text-align: center;
    }
    
    #footer .flex_column:nth-child(3) { 
        order: 2;
        width: 90%;
    }
    
    #footer .flex_column:nth-child(4) {
        order: 4;
        width: 10%;
        text-align: center;
    }
    
    #top #menu-footerprogrami {
        width: 85.4%;
        text-align: center;
    }
  
    #menu-footerprogrami li { width: 190px; }
    
    #menu-footerprogrami li a { font-size: 18px; }
    
    #footer hr { top: 30%; }
}

@media all and (max-width: 989px) and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10 11 */
        #top .reference-gumb { max-height: 278px; }
    }
/********************************** 768 ****************************************/

@media all and (max-width: 768px) and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10 11 */
        #top .reference-gumb { max-height: 205px; }
    }

/********************************** 767 ****************************************/

@media only screen and (max-width: 767px) {
    
     /*///////// FONT SIZE /////////*/
    
    #top .ime h1 { font-size: 11vw; }
    
    [data-av_icon]:before { font-size: 9vw; } 
    
    #top .storitve div:first-child h3, #top .mnenjaOut h2,#top .mesanjeIn h2, #top .novice h2, #top .text h1, #top .text h2, .part1 h3, .part2 h3, .part3 h3, .part4 h3, .part5 h3, #top .sekcija-2 h2  { font-size: 7vw; }
    
    .kontakt h5 { font-size: 5.2vw; }
    
     #top #thank-you .gumb a { font-size: 5vw; }
    
    .next-slide:before, #banner-sredina h4, #top .sekcija-2 h4, #top .sekcija-3 h3 { font-size: 4.5vw; }
    
     #top .storitve div:nth-of-type(n+2) h3, #top .text h4 { font-size: 4vw; }
    
     #top .poklic h4, #top .text p, #top .mnenja section p, #top .mesanjeIn p, #top .novice p, .part1 p, .part2 p, .part3 p, .part4 p, .part5 p, #top .sekcija-2 p, #top #reference h5, #top #reference .more, #top #reference-opis .text-inner h4 { font-size: 3vw; }
    
     #top .storitve div:first-child .grid-entry-excerpt, #top .av-large-testimonial-slider .avia-testimonial-name, #top #reference .avtor p { font-size: 2.5vw; }
    
    #top .gumb a, #top .storitve .gumb a, #top .novice .gumb a, #top .avia-testimonial-subtitle { font-size: 2vw; }
    
    /*///////// PRVA STRAN /////////*/
    
    .responsive #top #wrap_all #header { position: fixed; }
    .responsive #top.logged-in #wrap_all #header { position: relative; }
    
    
    #header { height: 11vw !important; }
    
    .logo, .logo a, .logo img { max-height: 11vw !important; }
    
    #header_main { top: 1vw; }

    #advanced_menu_hide {
        right: 30px;
        top: 40px;
    }
   
    #mobile-advanced {
        background-color: #000;
    	padding-top: 12.1%;
		padding-bottom: 0;
	}
    
    #mobile-advanced li:first-child a:before { content:""; }
    
    #mobile-advanced .sub-menu li a:before { content: "\25BA"; }
    
    .sub-menu li a { font-size: 95%; }
    
    #mobile-advanced, #mobile-advanced a {
        color: #fff;
        border-color: #000;
    }

    .responsive #top .logo {
        height: 100%;
        width: 35vw;
        margin-top: 2vw;
        padding: 1% 0;
    }
    
    #advanced_menu_toggle {
        background: none;
        border: none;
    }
  
    #top .main-banner { background-attachment: scroll !important; }
    
    #top .av-parallax.avia-full-stretch.active-parallax { height: 100%; }
    
    #top .ime h1 { margin: 2% 3%; }
    
    #top .poklic h4 { margin: -3% 33% 0 0; }
    
    .storitveCS { padding-top: 5%; }
    
    .storitve div { padding: 0 1%; }
    
    #top .storitve div:first-child h3 { margin: 10% 0 0 5%; }
    
    #top .storitve .gumb {
        width: 100%;
        height: 100%;
        margin: 2% -7%;
    }
    
    #top .storitve .gumb a { margin: auto; }
    
    #top .mnenja section p, #top .mesanjeIn p { line-height: 5vw; }
    
    .responsive #top #wrap_all .partnersOut { margin-top: 10%; }
    
    #top .partners img { margin: 10% auto 0; }

   .responsive #top #wrap_all .mnenjaCS .mnenjaOut, #top .mnenja, #top .mnenjaOut h2, .responsive #top #wrap_all .partnersOut, #top .mesanjeCS .mesanjeOut, #top .mesanjeIn h2, #banner-sredina h4,  #top .sekcija-2 h5 { width: 100%; }

    #top .mesanjeCS .mesanjeOut {
        position: relative;
        padding-left: 0;
    }
    
    #top .mesanjeOut section {
        width: 90%;
        margin: 7% 5%;
    }
    
    #top .mesanjeCS .gumb  { margin: 0 auto 5%; }
    
    #top .gumb a { padding: 2vw 4vw; }
    
    #top .novice { left: 0; }
    
    #top .novice p { line-height: 5vw; }
    
    #top .slicker-instagram-placeholder {
        width: 37vw;
        height: 37vw;
    }
    
    .fts-instagram-inline-block-centered { padding-bottom: 10%; }
  
    .statistikaCS { display: none; }
    
    /*///////// MNENJA /////////*/
    
    .responsive #top #wrap_all .mnenjaCS .mnenjaOut {
        margin-top: 10%;
        padding: 0 2%;
        height: 540px;
    }

    div.avia_textblock.poglej_reference { margin: 0;}
    div.avia_textblock.poglej_reference p{ padding: 0 10px;}

    #top .mnenjaOut .avia-testimonial-name { margin-top: 4%; }
    
    #top .mnenjaOut .gumb { max-height: 100%; }
    
    #top .mnenjaOut .gumb a { padding: 10% 6%; }
    
    #top .mnenjaCS .mnenjaOut .avia-slideshow-arrows a { margin-top: 48%; }
    
    .responsive #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial { padding: 0; }
    
    #top .mnenjaCS .mnenjaOut .avia-testimonial-image { display: none; }
    
    #top .mnenja { margin: 0; }
    
    #top .mnenja .avia-testimonial-meta {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
        width: 50%;
        margin: auto;
    }
    
    #top .mnenja .avia-testimonial-meta-mini { text-align: center; }
    
    .slide-entry-wrap {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: baseline;
    }

    .responsive #top #wrap_all .slide-entry {
        flex-basis: 204px;
        margin-left: 0;
    }

    
    /*///////// PODSTRANI /////////*/
    
    .tretjina-text { padding: 6% 0; }
  
    #top .poklic h4, #top .mnenjaOut h2, #top .avia-testimonial_inner, #top .mesanjeCS .mesanjeOut, #top .sekcija-2 h2, #top .sekcija-2 h4, #top .sekcija-2 p, .sekcija-3-text, #banner-sredina, .part1 h3, .part2 h3, .part3 h3, .part4 h3, .part5 h3, .part1 p, .part2 p, .part3 p, .part4 p, .part5 p, #top .opis .text { text-align: center; }
    
     #top .opis .text { padding: 4% 0; }
    
    .text-inner {
        width: 90%;
        margin: auto;
    }
    
    .ikona1, .ikona2, .ikona3, .ikona4 { padding-top: 2%; }
    
    .ikona1 { width: 8vw; }
    
    .ikona2 { width: 14vw; }
    
    .ikona3 { width: 12vw; }
    
    .ikona4 { width: 10vw; }
    
    .part1 h3, .part2 h3, .part3 h3, .part4 h3, .part5 h3, .part1 p, .part2 p, .part3 p, .part4 p, .part5 p { margin: 3% auto; }
    
    #top #poslovni-part2 h6 { margin-top: 0; }
    
    #top #poslovni-part3 h6 {
        top: -7%;
        left: -4%;
    }
    
    #top .dve-tretjini h3, #top #privat-part4 .dve-tretjini h3 { margin: auto; }
    #top .dve-tretjini h3 { width: 90%; }
    
    .tretjina h3, .tretjina p { width: 84%; }
    
    .part1 h6, .part2 h6, .part3 h6, .part4 h6, .part5 h6 { 
        left: -4%;
        top: -7%; 
    }
    
    #privat .text-inner { width: 90%; }
    
    #top #privat-part3 .tretjina h3 { width: 100%; }

    .responsive #top #wrap_all .sekcija-2-text, #top .sekcija-2-slika { 
        padding: 4% !important;
        margin-bottom: 0;
    }
        
    #top .sekcija-2 p { line-height: 4vw; }
    
    .responsive #top #wrap_all .sekcija-2-slika { margin-bottom: 0; }
    
    .kontakt .wpcf7-form { width: 80%; }
    
    #top .kontakt p { 
        flex-basis: 100%;
        padding: 0;
    }
    
    #top .kontaktTermin { margin: 2% 0; }
    
    .Termin img { left: 80%;}
    
    #top #reference-opis .text-inner { 
        width: 80%;
        padding: 5% 0;
    }
    
    #top #reference-opis .text-inner h4 { line-height: 5vw; }
    
    #top #reference h5 {
        text-align: center;
        margin: 4% auto 2%;
    }
    
    #top #reference .ref-text { line-height: 1.7; }
    
    #top .reference-gumb { 
        opacity: 1;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        position: relative;
    }
    
    #reference .avia_codeblock_section {
        margin: 6% auto;
        max-width: 46%;
    }
    
    #top #reference .more { padding: 2vw 10vw; }
    
    .dve-tretjini hr { width: 90%; }
    
    #top #reference .avtor p { margin: 0 auto; }
    
    #reference .tretjina p { margin: 5% auto; }
    
    #reference .tretjina, #reference .dve-tretjini, #top #reference-opis .text { padding: 4% 0; }
    
    #top #reference .dve-tretjini .avtor p {
        margin: 0;
        width: 100%;
    }
        
    #reference .dve-tretjini:hover .reference-gumb a, #reference .tretjina:hover .reference-gumb a { 
        padding: 0;
        position: relative;
    }
    
    [id*='small-dialog'] { max-width: 80%; }
    
    [id*='small-dialog'] p, [id*='small-dialog'] h3 { font-size: 2.3vw; }
    
    [id*='small-dialog'] h5 {
        font-size: 2.1vw;
        width: 70%;
    }
    
    .ref-logo {  width: 15vw; }
    
    #napaka { padding: 7% 0; }
    
    #top #napaka .besedilo { padding-top: 12%; }
    
    #top #napaka .besedilo {
        text-align: center;
        margin: auto;
        left: 0;
    } 
    
    #thank-you .besedilo h3 {
        font-size: 7vw;
        text-align: center;
    } 
    
    #thank-you .besedilo h4 { 
        font-size: 4.5vw;
        text-align: center;
    }
    
    #napaka .besedilo h3 { font-size: 7vw; }
    
    #napaka .besedilo h4 { font-size: 4.5vw; }  
    
    #thank-you { padding: 15% 0 3% 0; }
    
    #thank-you .besedilo { padding: 0 0 10% 5%; }
    
    #top #thank-you .gumb { text-align: center; }
    
    
    /*///////// FOOTER /////////*/
    
    .responsive #top #wrap_all #footer .flex_column, #top .zoom-social-icons-list--no-labels .zoom-social_icons-list__item { margin: 0; } 
    
    .responsive #top #wrap_all #footer .flex_column:nth-child(-n+2) { width: 35%; }

    .responsive #top #wrap_all #footer .flex_column:nth-child(4) { width: 15%; }
    
    #footer hr { top: 35%; }
    
    #menu-footerprogrami li a { font-size: 16px; }

}
/********************************** 600 **************************************/

@media only screen and (max-width: 600px) {
  
    .responsive #top #wrap_all .mnenjaCS .mnenjaOut { height: 480px; }
    
    #top #menu-footerprogrami { justify-content: center; }
    
    #footer hr { top: 50%; }
}

/********************************** 479 **************************************/

@media only screen and (max-width: 479px) {
    
    #top .storitve div:nth-of-type(n+2) h3, #top .mnenjaOut h2, #top .mesanjeIn h2, #top .novice h2, #top .text h1 { font-size: 8vw; }
    
    #top .text h4 { font-size: 5vw; }
    
    #top .storitve div:first-child .grid-entry-excerpt, #top .storitve .gumb a, #top .mesanjeIn p, #top .novice p, #top .mnenjaCS .mnenjaOut .av-large-testimonial-slider .avia-slideshow-arrows a, #top #napaka .gumb a { font-size: 4.5vw; }
    
    #top .gumb a, #top .novice .gumb a, #top .sekcija-2 p, #top .kontakt .gumb, #top .text p, #top .tretjina-text p, .part1 p, .part2 p, .part3 p, .part4 p, .part5 p { font-size: 4vw; }
    
    #top .av-large-testimonial-slider .avia-testimonial-name, #top .mnenja section p { font-size: 3.5vw; }
    
    #top .avia-testimonial-subtitle, [id*='small-dialog'] p, [id*='small-dialog'] h3 { font-size: 3vw; }
    
    [id*='small-dialog'] h5 { font-size: 2.5vw; }

    .responsive #top .av-menu-mobile-active .mobile_menu_toggle { height: 20px; }
    
    #top .storitve div:first-child h3, #top .storitve div:first-child .grid-entry-excerpt, #top .storitve div:nth-of-type(n+2) h3, #top .mnenja  { text-align: center; }
    
    .main-banner .av_one_third { padding-bottom: 22.1vw; }
    
    .storitveCS { padding-top: 0;}
    
    #top .storitve div:first-child h3 { 
        font-size: 11vw; 
        margin: 15% 0 0 0;
        padding-right: 0;
    }
    
    #top .storitve div:first-child .grid-entry-excerpt { margin: 4% 0; }

    #top .storitve .gumb { 
        width: 94%;
        margin: 4% auto;
    }
    
    #top .mnenjaOut h2 { padding: 0; }
    
    #top .mnenja .avia-testimonial-meta { width: 70%; }

    #top .mesanjeIn p, #top .novice p { line-height: 7vw; }
    
    .responsive #top #wrap_all .mnenjaCS .mnenjaOut { height: 410px; }
    
    #top .mnenjaCS .mnenjaOut .av-large-testimonial-slider .avia-slideshow-arrows a { margin-top: 50%; }
    
    .responsive #top #wrap_all .partnersOut { margin-top: 0; }
    
    #top .sekcija-3-gumb a { padding: 2vw 4vw; }
    
    .kontakt p:nth-child(8) { margin-top: 10%; }
    
    #top .slicker-instagram-placeholder {
        width: 80vw;
        height: 80vw;
    }
   
    #top .sekcija-2 p { line-height: 6vw; }
    
    #reference .avia_codeblock_section { max-width: 47%; }
    
    .wpcf7-form-control-wrap iframe {
        transform: scale(0.8);
        transform-origin: left top;
    }
        
    #menu-footermeni { justify-content: center;}
    
    #menu-footermeni li { 
        width: 100%;
        text-align: center;
    }
    
    .responsive #top #wrap_all #footer .flex_column:nth-child(1), .responsive #top #wrap_all #footer .flex_column:nth-child(2), .responsive #top #wrap_all #footer .flex_column:nth-child(4) { 
        height: 90px;
        width: 100%; 
    }
    
    .responsive #top #wrap_all #footer .flex_column { width: 100%; }
    
    #footer hr { top: 35%; }
    
    #top #footer .widget_nav_menu li { font-size: 19px; }
    
    #socket { padding-top: 5%; }
    
    .copyright { font-size: 14px; }
}

/********************************** 400 **************************************/

@media only screen and (max-width: 400px) {

    .responsive #top #wrap_all .mnenjaCS .mnenjaOut { height: 370px; }
    
}
