
body { background: fff; font-family: 'Open Sans'; font-size: 14px; color: #666667; line-height: 1.3em;}

/*
.panel-grid-cell{width:auto !important}
.panel-grid.panel-has-style>.panel-row-style{display:block !important}
*/

/* Wordpress Gallery */

/* WordPress Gallery 
------------------------------------------ */

.gallery {
    margin-left: -0.5em;
    margin-right: -0.5em;
}

.gallery:after {
    display: table;
    content: "";
    clear: both;
}

.gallery-item {
    margin: 0;
    float: left;
    padding: 0.5em;
}

.gallery-item img {
    width: 100%;
    height: auto !important;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
}
.gallery-columns-2 .gallery-item {
    width: 50%
}
.gallery-columns-3 .gallery-item {
    width: 33.3333%
}
.gallery-columns-4 .gallery-item {
    width: 25%
}
.gallery-columns-5 .gallery-item {
    width: 20%
}
.gallery-columns-6 .gallery-item {
    width: 16.6667%
}
.gallery-columns-7 .gallery-item {
    width: 14.2857%
}
.gallery-columns-8 .gallery-item {
    width: 12.5%
}
.gallery-columns-9 .gallery-item {
    width: 11.1111%
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: left;
}


/* generic style */
a,
a:hover { text-decoration: none !important; }
a:focus {outline: 0;}

h1, h2, h3, h4 ,h5 ,h6 { font-family: 'PT Serif', serif;}
h1 { font-size: 2.5em; line-height: 1.2em; }
h2 { font-size: 1.563em; line-height: 1.4em; font-weight: normal; }
h3 { line-height: 1.2em; font-size: 1.3em; font-weight: normal; }
h4 { line-height: 1.2em; }

.text-center { text-align: center; }
.text-left { text-align: left;}
.text-right { text-align: right;}

.margin-top-10 { margin-top: 10px; }
.margin-top-20 { margin-top: 20px; }
.margin-top-30 { margin-top: 30px; }

.margin-bottom-30 { margin-bottom: 30px; }

.padding-top-30 { padding-top: 30px; }

.padding-bottom-30 { padding-bottom: 30px; }


.background-white { background: #fff; }

figure.alignright { padding: 4px; margin:0px 0px 0px 10px; display: inline; }
figure.alignleft { padding: 4px; margin: 0 10px 0px 0; display: inline; }
figure.aligncenter { display: block; margin-left: auto; margin-right: auto; }
img.alignright { padding: 4px; margin: 0px 0px 0px 10px; display: inline; }
img.alignleft { padding: 4px; margin: 0 10px 0px 0; display: inline; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
figure img { max-width: 100%; padding: 0px; }
.wp-caption-text { background: #F4F4F4; padding: 10px; font-size: 12px; font-weight: bold; border: 1px solid #eee;}


.sm { z-index: 99 !important;}












/* RESPONSIVE */



@media (max-width: 768px) {
  
} 


/* MOBILE */

@media  screen 
and (min-width : 1200px)  { 
   
}

/* ipad landscape */
@media  screen 
and (max-width : 1200px)  { 

    


    .sm-clean a span.sub-arrow { left:90% !important; }
  
}

/* ipad portrait */
@media screen 
and (max-width : 768px) { 

    .sm-clean a span.sub-arrow { left:90% !important; }
    

    .margin-top-30-sm { margin-top:30px; }

   
}

@media screen 
and (max-width : 600px){
    .sm-clean a span.sub-arrow {
        left: auto !important;
    }
    .margin-top-xs-30 { margin-top: 30px; }
    .padding-xs-0 { padding-left: 0px; padding-right: 0px; }
    .main_container { margin-top: 0px; }
    

}




.ellip {
    display: block;
    height: 100%;
}

.ellip-line {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    max-width: 100%;
}

.ellip,
.ellip-line {
    position: relative;
    overflow: hidden;
}