* {
    margin:0;
    padding:0;
    border:none;
    outline:none;
}
@font-face {
    font-family:'trebuc';
    src:url('../fonts/Trebuc/trebuc.eot');
    src:url('../fonts/Trebuc/trebuc.eot') format('embedded-opentype'),
        url('../fonts/Trebuc/trebuc.woff') format('woff'),
        url('../fonts/Trebuc/trebuc.ttf') format('truetype'),
        url('../fonts/Trebuc/trebuc.svg') format('svg');
    font-weight:normal;
    font-style:normal
}
html, body {
    width:100%;
    height:100%;
}
body {
    color:#7d0402;
    font-size:15px;
    font-family:'trebuc', Verdana, Arial, sans-serif;
    font-style:normal;
    background:#fff8de;

}
img {
    max-width:100%;
    height:auto;
}


ul, ol {
    list-style-position:inside;
}

[class^="fa-"] {
    display:inline-block;
    font-family:'FontAwesome';
}

h1 {
    font-size:30px;
    font-weight:normal;
    text-align:center;
}
h3 {
    background:#7d0402;
    color:#ffe290;
    font-size:15px;
    font-weight:normal;
    padding:6px;
    border:2px solid #bd7111;
}
h4 {
    display:inline-block;
    font-size:20px;
    font-weight:normal;
    margin:10px 0;
}
h5 {
    color:green;
    font-size:16px;
    line-height:1.5em;
    margin:10px 0;
}
p {
    line-height:1.5em;
    text-align:justify;
}

.left {
    float:left;
}
.right {
    float:right;
}

.display_block {
    display:block !important;
}
.display_inline_block {
    display:inline-block !important;
}
.display_table_cell {
    display:table-cell !important;
}
.hide {
    display:none !important;
}

.clear {
    clear:both;
    float:none;
    height:0;
    width:100%;
}

a {
    color:inherit;
}
a:hover {
    text-decoration:none;
}


video {
    margin:5px 0;
}



/*=================================*/

header {
    width:100%;
    text-align:center;
}
header .header {
    width:1500px;
    display:inline-block;
    text-align:center;
    border-top:3px solid #7d0402;
    position:relative;
}

header .logo {
    display:inline-block;
    float:left;
    width:190px;
    margin:36px 0 0px;
}
header .logo a {
    display:block;
}
header .logo a img {
    width:100%;
    height:auto;
}



header .slogan {
    display:inline-block;
    text-align:center;

}
header .slogan p {
    font-size:22px;
    color:#9e3835;
    text-align:center;
    font-weight:bold;
    text-transform:uppercase;
    margin-top:15px;
}


header .phone-skype {
    display:inline-block;
    float:right;
    min-width:200px;
    text-align:right;
    margin-top:65px;

}
header .phone-skype span.fa-phone, header .phone-skype span.fa-skype {
    color:#6f6f6f;
    position:relative;
    top:4px;

}
header .phone-skype p {
    font-size:16px;
    color:#6f6f6f;
    text-align:right;
}
header .phone-skype p span {
    color:#7d0402;
    font-size:24px;

}





/*==============menu========================*/

ul.main_menu {
    display:table;
    margin:0 auto;
    width:1500px;
    background:#7d0402;
    border:2px solid #bd7111;
}
ul.main_menu li {
    display:table-cell;
    text-align:center;
    list-style:none;

}
ul.main_menu li a {
    display:block;
    text-decoration:none;
    color:#ffe290;
    margin:8px 0;
/*    padding:5px 0;*/
    border-right:1px solid #ffe290;
    font-size:17px;
    position:relative;
    overflow:hidden;
    height:32px;
}
ul.main_menu li:last-child a {
    border:none;
}
ul.main_menu li a span {
    position:relative;
    display:block;

}
ul.main_menu li a span.item-hover {
    top:-30px;
    color:#fff;
    transition:all .2s ease-in-out;
    -webkit-transition:all .2s ease-in-out;
    -moz-transition:all .2s ease-in-out;
    -ms-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
}
ul.main_menu li a span.item {
    top:-13px;
    transition:all .2s ease-in-out;
    -webkit-transition:all .2s ease-in-out;
    -moz-transition:all .2s ease-in-out;
    -ms-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
}
ul.main_menu li a:hover span.item, ul.main_menu li.active span.item {
    top:22px;
    transition:all .15s ease-in-out;
    -webkit-transition:all .2s ease-in-out;
    -moz-transition:all .2s ease-in-out;
    -ms-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
}
ul.main_menu li a:hover span.item-hover, ul.main_menu li.active span.item-hover {
    top:7px;
    transition:all .2s ease-in-out;
    -webkit-transition:all .2s ease-in-out;
    -moz-transition:all .2s ease-in-out;
    -ms-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
}

ul.main_menu li ul, ul.main_menu li ul li ul {
    display:none;
}









.header .mod-languages {
    display:inline-block;
    position:absolute;
    top:0;
    right:0;
}
.header .mod-languages ul {
    font-size:0;
}
.header .mod-languages ul li {
    display:inline-block !important;
    margin:0;
    padding:0;
    width:40px;

}
.header .mod-languages ul li.lang-active {
    border-left:2px solid #bd7110;
    border-right:2px solid #bd7110;
    border-bottom:2px solid #bd7110;
    background:#7d0402;
}
.header .mod-languages ul li.lang-active a {
    color:#ffe290;
}
.header .mod-languages ul li a {
    display:block;
    color:#6f6f6f;
    font-size:14px;
    height:22px;
    line-height:22px;
}





.main-wrap {
    display:inline-block;
    text-align:center;
    width:100%;

}
.main {
    display:inline-block;
    width:1500px;
    text-align:left;
    margin:10px 0;
}
.left-column {
    width:20%;
    float:left;
}

.left_menu {
    display:block;
    list-style:none;
    background:#ebeaea;
    padding:0;


}
.left_menu ul li {
    display:block;
    margin:0;
}
.left_menu ul li a {
    display:block;

    color:#7d0402;
    text-decoration:none;
    padding:10px 0;
    margin:0 12px;

    border-bottom:1px solid #7d0402;
}
.left_menu ul li:last-child a {
    border:none;
}

.left_menu ul li a:before {
    content: '>';
    margin-right:15px;
    margin-left:0;

}

.left_menu ul li:hover, .left_menu ul li.current, .left_menu ul li.active {
    background:#7d0402;
}
.left_menu ul li:hover, .left_menu ul li.current, .left_menu ul li.active  {
    outline:1px solid #7d0402;
}

.left_menu ul ul li:hover, .left_menu ul ul li.current, .left_menu ul ul li.active  {
    outline:none;
}


.left_menu ul li.item-150.current:hover, .left_menu ul li.item-150.current, .left_menu ul li.item-150.active  {
    outline:none;
}
.left_menu ul li:hover a, .left_menu ul li.current a, .left_menu ul li.active a, .left_menu ul li:hover a:before, .left_menu ul li.current a:before, .left_menu ul li.active a:before {
    color:#ffe290;
}

span.menu-icon {
    display:none;
    width:100%;
    height:40px;
    background:url(../images/menu-icon.png) no-repeat center;
    background-size:35px;
    cursor:pointer;
}
.left_menu ul li:first-child {
    display:none
}


.left_menu ul ul {
    background:#ebeaea;
}

.left_menu ul ul li:first-child {
    display:block;
}
.left_menu ul ul li {
    list-style:circle;
}
.left_menu ul ul li:hover {
    outline:none;
}
.left_menu ul ul li a {
    padding-left:30px;
    display:block;
    color:#7d0402 !important;
    text-decoration:none;
    border:none !important;
    margin:0;
}
.left_menu ul ul li a:hover {
    color:#ffe290 !important;
    background:#7d0402;
}
.left_menu ul ul li a:before {
    display:none;
}

.left_menu  ul > li > ul > li.active a {
	color:#FFE290!important;
}


.left_menu ul li.active.deeper.parent {
    outline:none;
}






.container {
    display:inline-block;
    float:left;
    width:60%;
    text-align:center;
}
.container-100 {
    width:calc(98% - 235px) !important;
}
.content {
    display:inline-block;
    width:95%;
    text-align:left;

}
.container-100 .content {
    width:100% !important;
}


.right-column {
    display:inline-block;
    width:20%;
    float:right;

}

.right-column .right-news h3 {
    background:#7d0402;
    color:#ffe290;
    font-size:15px;
    font-weight:normal;
    padding:3%;
    border:2px solid #bd7111;
}
.right-news .wrap:nth-child(2n+1) {
    background:#ebeaea;
}
.right-news .wrap {
    margin:4px 0;
    padding:5%;
}

.right-column h4.right-news {
    margin:5px 0;


}
.right-column h4.right-news a {
    text-decoration:none;
    color:#7d0402;
    font-size:14px;
    font-weight:normal;
    display:block;
    line-height:1.5em;
}
.right-column h4.right-news a:hover {
    text-decoration:underline;
}
.right-column .wrap span.date_news {
    color:#969696;
    font-size:12px;
}


.right-news a.link-arhiv {
    display:block;
    font-size:14px;
    color:#ebeaea;
    text-decoration:none;
    background:#969696;
    padding:3%;
    margin:10px 0;
}
.right-news a.link-arhiv:hover {
    background:#7d0402;
    color:#ffe290;
}
.box-img img {
    width:100%;
}


.main .blog-featured {
    margin-top:10px;
}
.main .blog-featured h1, .main .item-page .page-header h1, .main .blog h1 {
    background:#7d0402;
    display:block;
    font-size:16px;
    font-weight:normal;
    padding:5px 10px;
    border:2px solid #bd7111;
    color:#ffe290;
    text-align:left;
}
.main .blog-featured h1 a, .main .item-page .page-header h1 a {
    text-decoration:none;
    color:#ffe290;
}
.main .blog-featured h1 a:hover, .main .item-page .page-header h1 a:hover {
    text-decoration:underline;
}



.main .blog-featured .item-body, .main .item-page .articleBody {
    margin-top:5px;
    background:#ebeaea;
    padding:2%;
    display:inline-block;
    width:96%;
}
.main .blog-featured .item-body p {
    color:#686868;
    line-height:1.8em;
}
.main .blog-featured .item-body p.readmore {
    text-align:right;
}
.main .blog-featured .item-body p.readmore a {
    font-size:14px;
    color:#7d0402;

}
.main .blog-featured .item-body p.readmore a:hover {
    text-decoration:none;
}




footer {
    display:inline-block;
    width:100%;
    text-align:center;
}
footer .footer {
    display:inline-block;
    text-align:left;
    width:1500px;
    border-top:1px solid #7d0402;
}

.footer .block {
    display:inline-block;
    width:50%;
}
.footer .block p {
    font-size:15px;
    color:#bfbfbf;
    margin:25px 0;
}




footer .social .span-fa a .social-icons {
    color:#7b7b7b;
    font-size:36px;
}
footer .social .span-fa a:hover .social-icons {
    color:#7d0402;
}


footer .block.right {
    text-align:right;
    margin-top:15px;
}
footer .social, footer .brainlab, footer .social .span-fa {
    display:inline-block;
}

footer .brainlab {
    width:80px;
    margin-left:15px;
}
footer .brainlab a img {
    width:100%;
}

.main .moduletable.slider {
    margin-top:20px;
}









/*=============SLIDER========================*/

.slider-wrapper {
    width:100%;
    height:230px;
    position:relative;
    margin-bottom:20px;
}
.nivoSlider {
    width:100%;
    height:100%;
}
.nivoSlider h1.nivo-title {
    display:none;
}
.nivoSlider .nivo-caption-wrapper {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    text-align:center;
}
.nivoSlider .nivo-caption {
    display:inline-block;
    width:325px;
    height:auto;
    max-height:175px;
    position:absolute;
    margin-left:-172.5px;
    left:50%;
    bottom:5px;
    background:rgba(255,255,255,.85);
}
.nivoSlider .nivo-caption .nivo-introtext {
    max-height:148px;
    overflow:hidden;
}
.nivoSlider .nivo-caption .nivo-introtext p {
    font-size:12px;
    color:#020202;
}
.nivoSlider .nivo-caption a.nivo-readmore {
    color:#7d0402;
}



.theme-default .nivo-caption a {border:none !important;}


.theme-default .nivoSlider img {
    height:100% !important;
/*    width:auto !important;*/
}

.nivoSlider a.nivo-readmore {
    display:none !important;
}








.main .blog .items .page-header {
    margin-bottom:10px;
}
.main .blog .items .page-header a {
    color:#7d0402;
    text-decoration:none;
    font-size:20px;
    font-weight:normal;
}
.main .blog .page-header a:hover {
    text-decoration:underline;
}
.main .blog .page-header a:active {
    color:#222;
}
.main .blog .items .item-image {
    float:left;
    width:225px;
    margin-right:15px;
}
.main .blog .items p {
    font-size:14px;
}
.main .blog .items p.readmore {
    text-align:right;
}
.main .blog .items p.readmore a {
    background:#ffe290;
    color:#7d0402;
    font-size:15px;
    text-decoration:none;
    padding:3px 5px;
    border-radius:3px;
    border:1px solid #7d0402;
    margin-top:10px;
    display:inline-block;

}
.main .blog .items p.readmore a:hover {
    background:#7d0402;
    color:#ffe290;
}

.main .blog .items {
    border-bottom:1px solid;
    padding:15px 0;
}
.main .blog .items:last-child {
    border:none;
}



.pagination ul {
    display:inline-block;
    width:100%;
    text-align:center;
    margin-top:15px !important;
}
.pagination ul li {
    display:inline-block;
    margin:0 6px !important;
}
li.pagination-start, li.pagination-prev, li.pagination-next, li.pagination-end {
    display:none !important;
}
.pagination ul li span, .pagination ul li a {
    border:1px solid #7d0402;
    border-radius:3px;
    padding:4px 18px;
    background:transparent;
    text-decoration:none;
    color:#7d0402;
}
.pagination ul li span, .pagination ul li a:hover {
    background:#7d0402 !important;
    color:#ffe290 !important;
}









/*=======Gallery===================================*/

#phocagallery .pg-csv-box, #phocagallery .pg-cv-box {
    width:calc(100% / 3 - 4% - 2px);
    margin:1%;
    padding:1%;
    height:auto;
    background:none;
    border-radius:3px;
    box-shadow:1px 1px 6px 0 rgba(34,34,34,.3);
}
#phocagallery .pg-csv-box:nth-child(4), #phocagallery .pg-cv-box:nth-child(4), #phocagallery .pg-csv-box:nth-child(7), #phocagallery .pg-cv-box:nth-child(7), #phocagallery .pg-csv-box:nth-child(10), #phocagallery .pg-cv-box:nth-child(10), #phocagallery .pg-csv-box:nth-child(13), #phocagallery .pg-cv-box:nth-child(13), #phocagallery .pg-csv-box:nth-child(16), #phocagallery .pg-cv-box:nth-child(16) {
    clear:both;
}
#phocagallery .pg-csv-box:hover, #phocagallery .pg-cv-box:hover {
    background:#ffe290;
}
#phocagallery .pg-csv-box-img.pg-box1, #phocagallery .pg-box2, #phocagallery .pg-box3, #phocagallery .pg-cv-box-img.pg-box1 {
    width:100%;
    height:auto;
}

#phocagallery .pg-box3 {

}

#phocagallery .pg-box3 a {
	display:block;
}

#phocagallery .pg-box3 a img {
    max-width: 100%;
	max-height: 180px;
	vertical-aling:middle;
}
#phocagallery #pg-icons, #phocagallery .pg-csv-count, #phocagallery .pg-icon-detail {
    display:none;
}
#phocagallery .pg-csv-name {
    padding:0;
    background:none;
    text-align:center;
}
#phocagallery .pg-csv-name a {
    text-decoration:none;
    color:#7d0402;

}



#phocagallery .pg-cv-box .pg-cv-name {
    font-size:11px;
    line-height:14px;
    height:50px;
    display:table-cell;
    vertical-align:middle;
    text-align:center;
}







/*=======FeedBack=====================*/


.componentheading {
    text-align:center;
    font-size:22px;
    padding:10px 0;
}
#userForm .formTableLayout {
    width:100%;
}
#userForm .formTableLayout tr td {
    height:35px;
}
#userForm .formTableLayout tr td:first-child {
    width:30%;
}
#userForm .formTableLayout tr td input {

}
#userForm .formTableLayout tr td input, #userForm .formTableLayout tr td textarea {
    padding:6px;
    font-size:16px;
    border:1px solid #ccc;
    border-radius:3px;
    outline:none;
    -webkit-transition:all .2s ease-out;
    -moz-transition:all .2s ease-out;
    -ms-transition:all .2s ease-out;
    -o-transition:all .2s ease-out;
    transition:all .2s ease-out;
}
#userForm .formTableLayout tr td input:focus, #userForm .formTableLayout tr td textarea:focus {
    outline:none;
    box-shadow:0 0 6px 0 rgba(34,34,34,.2);
    -webkit-transition:all .2s ease-out;
    -moz-transition:all .2s ease-out;
    -ms-transition:all .2s ease-out;
    -o-transition:all .2s ease-out;
    transition:all .2s ease-out;
}

input#btn {
    float:right;
    background:#7d0402;
    color:#ffe290;
    width:150px;
    border:none !important;
    box-shadow:2px 2px 2px #555;
    outline:none;
    -webkit-transition:none !important;
    -moz-transition:none !important;
    -ms-transition:none !important;
    -o-transition:none !important;
    transition:none !important;
    cursor:pointer;
}
input#btn:active {
    position:relative;
    top:1px;
    left:1px;
    box-shadow:1px 1px 1px #555;
    -webkit-transition:none !important;
    -moz-transition:none !important;
    -ms-transition:none !important;
    -o-transition:none !important;
    transition:none !important;
}
textarea#message {
    width:100%;
}

#userForm p {
    margin:5px 0;
}
#userForm p#text2, #userForm p#text3, #userForm p#text4 {
    font-style:italic;
}









.main .item-page ul, .main .blog ul, .main .item-page ol, .main .blog ol {
    margin:10px;
}
.main .item-page ul li, .main .blog ul li, .main .item-page ol li, .main .blog ol li {
    margin:8px 0;
    line-height:1.5em;
    text-align:justify;
}
.main .item-page p, .main .blog p {
    margin-top:15px;
}
.main .item-page p:first-child, .main .blog p:first-child {
    margin-top:0;
}

.main .item-page table, .main .blog table {
    width:100%;
    border:1px solid;
    border-spacing:0;
    margin:15px 0;
}
.main .item-page table tr:first-child td, .main .blog table tr:first-child td {
    font-weight:bold;
    border-top:none;

}

.main .item-page table td, .main .blog table td {
    border-top:1px solid rgba(125,4,2,.4);
    padding:5px;
    text-align:center;
}

.main .item-page img {
    width:45%;
    margin:5px 2%;
}
.main .blog img {
    max-width:45%;
    width:auto;
    max-height:175px;
    margin:5px 2%;
}
.main .item-page.contacts img {
    width:100%;
    margin:0;
}

.my_slider_top {
	position:relative;
}

.custom_slider_top {
	position: absolute;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
    background-position:-24px 0;
}

.pull-left.item-image img {
    width:100% !important;
    max-width:100% !important;
}



.newsflash a.readmore {
    background:#7d0402;
    width:97%;
    text-align:center;
    display:inline-block;
    color:#ffe290;
    font-size:12px;
    text-transform:uppercase;
    font-weight:normal;
    padding:6px;
    margin:15px 0;
    border:2px solid #bd7111;
    cursor:pointer;
}
.newsflash .fulltext {
    display:none;
}


dt.article-info-term {
    display:none;
}
dd.create time {
    color:#969696;
    font-size:12px;
    display:block;
    margin-bottom:10px;
}


.left-column .right-column {
    display:none;
}

.pg-cv-name-wrap {
    width:100%;
    display:table;
}


.item-page .article-info.muted {
    display:none;
}











/*===============MEDIA=========================*/


@media (min-width:1920px) {

    header .header {
        width:1400px;
    }
    ul.main_menu {
        width:1400px;
    }
    .main {
        width:1400px;
    }
    footer .footer {
        width:1400px;
    }

}

@media (max-width:1680px) {

    header .header {
        width:1300px;
    }
    ul.main_menu {
        width:1300px;
    }
    .main {
        width:1300px;
    }
    footer .footer {
        width:1300px;
    }

}

@media (max-width:1440px) {

    header .header {
        width:1200px;
    }
    ul.main_menu {
        width:1200px;
    }
    .main {
        width:1200px;
    }

    .left-column {
        width:250px;
    }
    .right-column {
        width:235px;
    }
    .container {
        width:calc(100% - 250px - 235px);
    }
    footer .footer {
        width:1200px;
    }


}

@media (max-width:1200px) {

    header .header {
        width:100%;
    }
    header .logo {
        margin-left:1%;
    }
    header .phone-skype, .header .mod-languages {
        margin-right:1%;
    }

    ul.main_menu {
        width:100%;
        border-left:none;
        border-right:none;
    }
    .main {
        width:100%;
    }
    footer .footer {
        width:100%;
    }
    .footer .block {
        width:49%;
    }
    .footer .block.left {
        margin-left:1%;
    }
    .footer .block.right {
        margin-right:1%;
    }



}

@media (max-width:1100px) {

    .left-column {
        width:235px;
    }
    .right-column {
        width:200px;
    }
    .container {
        width:calc(100% - 235px - 200px);
    }
    .content {
        width:98%;
    }



    .container-100 {
        width:calc(100% - 200px) !important;
    }


}

@media (max-width:950px) {



}

@media (max-width:900px) {


    header .logo {
        margin-bottom:0;
        width:160px;
    }




    .left-column {
        width:235px;
    }
    .container {
        width:calc(100% - 235px);
    }
    .container-100 {
        width:100% !important;
    }

    .right-column {
        display:none;
        width:100%;
        margin-top:20px;
    }
    .right-column .right-news h3, .right-news .wrap, .right-news a.link-arhiv {
        padding:10px;
    }

    .left-column .right-column {
        display:block;
    }

}


@media (max-width:860px) {

    header .slogan {
        width:100%;
        margin:0;
    }

    header .slogan p {
        text-align:center;
        margin:15px 0 10px;
    }

    header .phone-skype {
        float:none;
    }

}


@media (max-width:750px) {

    header .slogan {
        float:right;
        margin-right:1%;
    }
    header .slogan p {
        font-size:20px;
    }


    ul.main_menu {
        text-align:center;
    }
    ul.main_menu li {
        display:inline-block;
        width:40%;
        text-align:center;
    }

    ul.main_menu li a {
        margin:0;
        border:none;
        height:auto;
        font-size:16px;
    }
    ul.main_menu li a span.item-hover {
        display:none;
    }
    ul.main_menu li a span.item {
        width:100%;
        height:100%;
        top:0;
        left:0;
        display:block;
        padding:5px 0;
        -webkit-transition:none;
        -moz-transition:none;
        -ms-transition:none;
        -o-transition:none;
        transition:none;
    }

    ul.main_menu li a:hover, ul.main_menu li.active.current a  {

/*        color:#fff8de;*/
        text-decoration:underline;
    }

    ul.main_menu li a:hover span.item, ul.main_menu li.active.current span.item {
        top:0;
        -webkit-transition:none;
        -moz-transition:none;
        -ms-transition:none;
        -o-transition:none;
        transition:none;
        color:#fff8de;
    }

    span.menu-icon {
        display:block;
    }

    .left_menu ul {
        display:none;
    }



    .main {
        text-align:center;
    }
    .left-column, .container {
        display:inline-block;
        width:98%;
        float:none;
        text-align:left;
    }
    .container {
        margin-top:10px;
    }
    .content {
        width:100%;
    }
    .right-column {
        display:block;
        text-align:left;
    }
    .left-column .right-column {
        display:none;
    }









}

@media (max-width:700px) {

    header .slogan p {
        font-size:18px;
    }
    header .logo {
        width:125px;
    }

    header .phone-skype {
        margin-top:27px;
    }

}

@media (max-width:600px) {

    header .logo {
        margin-left:5%;
    }

    header .phone-skype {
        margin-top:40px;
    }
    header .phone-skype p {
        margin:0 20px;
        font-size:14px;

    }
    header .phone-skype p span {
        font-size:20px;
    }

}

@media (max-width:550px) {
	#phocagallery .pg-csv-box, #phocagallery .pg-cv-box {
		width:46%;
	}
    
    #phocagallery .pg-csv-box:nth-child(4), #phocagallery .pg-cv-box:nth-child(4), #phocagallery .pg-csv-box:nth-child(7), #phocagallery .pg-cv-box:nth-child(7), #phocagallery .pg-csv-box:nth-child(10), #phocagallery .pg-cv-box:nth-child(10), #phocagallery .pg-csv-box:nth-child(13), #phocagallery .pg-cv-box:nth-child(13), #phocagallery .pg-csv-box:nth-child(16), #phocagallery .pg-cv-box:nth-child(16) {
        clear:none;
    }
    
/*
    #phocagallery .pg-csv-box:nth-child(4), #phocagallery .pg-cv-box:nth-child(4), #phocagallery .pg-csv-box:nth-child(7), #phocagallery .pg-cv-box:nth-child(7), #phocagallery .pg-csv-box:nth-child(10), #phocagallery .pg-cv-box:nth-child(10), #phocagallery .pg-csv-box:nth-child(13), #phocagallery .pg-cv-box:nth-child(13), #phocagallery .pg-csv-box:nth-child(16), #phocagallery .pg-cv-box:nth-child(16) {
        clear:both;
    }
*/
    #phocagallery .pg-csv-box:nth-child(2n+1), #phocagallery .pg-cv-box:nth-child(2n+1) {
        clear:both;
    }
    
    
}

@media (max-width:500px) {

    footer .footer {
        text-align:center;
    }

    .footer .block.right, .footer .block.left {
        margin:0;
        display:inline-block;
        width:95%;
        text-align:center;
    }
    .footer .block.right {
        margin-top:10px;
    }


    ul.main_menu li {
        width:50%;
    }
    ul.main_menu li a {
        font-size:14px;
    }





/*    ========SLIDER======*/

    .theme-default .nivoSlider img {
        height:100% !important;
    }
    .nivo-directionNav a {
        bottom:1.5% !important;
        top:auto !important;
        opacity:1 !important;
    }





    .main .blog .items .item-image {
        width:45%;
    }





    .main .item-page table td {
        font-size:12px;
    }



}

@media (max-width:450px) {

    header .slogan p {
        font-size:15px;
    }
    header .logo {
        width:120px;
        margin-top:7%;
    }

    .clock-wrap {
        margin:0 -8px;
    }

}

@media (max-width:400px) {

    ul.main_menu li a {
        font-size:13px;
    }

    .main .blog .items .item-image {
        width:100%;
    }


    #userForm .formTableLayout tr td:last-child {
        display:none;
    }
    #userForm .formTableLayout tr td {
        display:block;
    }

    #userForm .formTableLayout tr td input, #userForm .formTableLayout tr td textarea {
        width:90%;
    }
    input#btn {
        width:150px !important;
        margin-top:40px;
    }


    #phocagallery .pg-csv-box, #phocagallery .pg-cv-box {
        width:calc(100% / 2 - 4% - 2px);
    }


    .main .item-page img {
        width:100%;
        margin:5px 0;
    }


    .main .item-page table td {
        font-size:10px;
    }


    header .logo {
        width:150px;
        margin:40px auto 0;
        float:none;
    }
    header .phone-skype {
        width:100%;
        margin:10px 0;
    }
    header .phone-skype p {
        font-size:18px;
        text-align:center;
    }


    .clock-wrap {
        margin:0 -10px;
    }


}

@media (max-width:360px) {

    .clock-wrap {
        margin:0 -14px;
    }
    
    #phocagallery .pg-csv-box, #phocagallery .pg-cv-box {
		width:96%;
	}

}

@media (max-width:330px) {

    .main .item-page table td {
        font-size:8px;
    }

}

@media (max-width:300px) {
    header .logo {
        width:40%;
        margin-top:10%;
    }
    header .slogan p {
        font-size:13px;
    }
}



























