*,dl, ol, ul {
    margin: 0;
    padding: 0;
}
/* Example sudswrapper */
.sly_wrap {
    position: relative;
    margin: 0em 0;
    margin: 0 0 20px 0;/*border: 1px solid #ccc;*/
    /*background-color: #f9f9f9; background-color: #F9F9F9;*/
}
.sly_wrap { /*max-width: 100%;*/
    margin: 20px;
    white-space: nowrap;/*overflow-x: auto;*/
}

.scrollbar {
    border: 1px #000;
    margin: 5px 0 1px 0;
    height: 12px;
    background: #cba69f;
    /*background: #E3E1DF;*/
    line-height: 0;
}
.scrollbar .handle {
    border: 1px #000;
    width: 100px;
    height: 100%;
    background: #862a1f;
    /*background: #F3F1F1;*/
    cursor: pointer;

}
.scrollbar .handle .mousearea {
    position: absolute;
    top: -9px;
    left: 0;
    width: 100%;
    height: 20px;
}
/* Pages */
.pages {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: center;
}
.pages li {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 4px;
    text-indent: -999px;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}

.sly_g_slider .sly_image_section{
    position: relative;
    float: left;
}

.sly_g_slider li .sly_image_section .g_head {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    color: #FFF;
    text-align: justify;

    word-break: normal;
    white-space: normal;
}


.sly_g_slider li .sly_image_section .gmeta {
    position: absolute;
    bottom: 0px;
    right: 15px;
}

.pages li:hover { background: #aaa; }
.pages li.active { background: #666; }
@media only screen and (max-width: 1600px) {
  
    .sly_g_slider li .gimgholder {/* height: 330px;*/ }
    .sly_g_slider li .sly_g_content_holder { width: 440px;/*	height: 508px;*/ }
    /*.sly_g_content_holder>.sc_content { height: 450px; }*/
    .sly_g_slider li .g_head { padding: 8px 10px 8px !important; }
}
/* 	=========================================== DESKTOP < 1200px ====*/

@media only screen and (max-width: 1200px) {
  
    /*.sly_g_slider li .gimgholder { height: 330px; }*/
    .sly_g_slider li .sly_g_content_holder { width: 440px;}
    /*.sly_g_content_holder>.sc_content { height: 450px; }*/
    .sly_g_slider li .g_head { padding: 8px 10px 8px !important; }
}

/* max-height: 100%; g_slider */
.sly_g_slider {
    overflow-x: auto;
    white-space: nowrap; 
  }

  .sly_g_slider ul {
    display: flex;
    flex-wrap: nowrap;
font-size: 15px;
   
    list-style: none;
    margin: 0px 0;
    padding: 0;
    position: relative;
    
    
  }
.sly_g_slider ul li {
    flex: 0 0 auto; /* Prevent shrinking and wrapping */
    height: 560px !important;
    min-width: 220px;     /* Set fixed width */
    max-width: 90%;
    margin-right: 10px;
    text-align: center;
    vertical-align: top;
    word-break: break-word;
  }

.sly_g_slider ul li .gimgholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 580px; /* Already set */
    position: relative;
    margin: 0 auto!important;
    width: auto;
}

.sly_g_slider ul li .gimgholder img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.sly_g_slider>ul>li>section {
    -moz-box-shadow: 1px 3px 5px 1px #666;
    -webkit-box-shadow: 1px 3px 5px 1px #666;
    background: #fff;
    border: 1px solid rgba(34,25,25,0.4);
    box-shadow: 1px 3px 5px 1px #666;
    margin: 0 40px 0 0;
}
.sly_g_slider>ul>li>last-child>section {
    -moz-box-shadow: 1px 3px 5px 1px #666;
    -webkit-box-shadow: 1px 3px 5px 1px #666;
    background: #fff;
    border: 1px solid rgba(34,25,25,0.4);
    box-shadow: 1px 3px 5px 1px #666;
    margin: 0 100px 0 0 !important;
}
.sly_g_slider li h4.g_head {
    color: #000;
    font-size: 130%;
    font-weight: 700;
/*    height: 30px;
    line-height: 30px;
    overflow: hidden;*/
    padding: 8px 10px 4px!important;
    /*text-align: center;*/
    /*max-width:60% !important;*/
    margin:0 auto;
    /*display:table-cell;*/
    clear:both;
}
.sly_g_slider li .gimgholder {
   height: 580px;
     margin: 0 auto!important;
    position: relative;
    width: auto;
}
.sly_g_slider li .para {
    height: 68px!important;
    overflow: visible;
    text-align: left;
}
.sly_g_slider li .para, .sly_g_slider .gmeta {
    clear: both;
    /*max-width: 98%;*/
    padding: 7px 15px!important;
    display: block;
    white-space: normal;
}
.sly_g_slider .gmeta {
    color: #777;
    font-style: italic;
    height: 40px;
    line-height: 40px;
    padding: 0px 0px 0px 15px !important;
    text-align: left!important;
}
.sly_g_slider li .sly_g_content_holder {
    display: inline-block;
    /*height: 600px;*/
    overflow: hidden;
    position: relative;
    text-align: center;
    vertical-align: top;
    white-space: normal!important;
    width: 500px;
    word-break: break-all;
}
.sly_g_content_holder .sc_content{
    word-break: normal;
}
.sly_g_content_holder .sc_content p {
    font-size: 14px;
    padding: 6px 25px!important;
    text-align: justify !important;
    font-family: Oswald, Charcoal, sans-serif;
}
.sly_g_content_holder>.sc_content {
    border: none!important;
    height: 540px;
    overflow: hidden;
    text-transform: none;
}
h1.wh1, div.wh1 {
    color: #940e13 !important;
    font-size: 150%;
    line-height: 35px;
}
h1.wh1 {
    background: rgba(255,255,255,0.2);
    padding: 35px 59px;
}
h1.wh1>span {
    font-family: Oswald, Charcoal, sans-serif;
    padding: 13px 25px 7px; 
    font-size : 15px ;
    line-height: 20px; 
}
h1.wh1>span>b {
    font-size: 15px;
    font-family: Oswald, Charcoal, sans-serif;
}
h1.wh1>span, div.wh1>span {
    border-top: 1px solid #ccc;
    color: #444;
    display: block;
    margin-top: 10px;
    text-transform: none;
}
h1.wh1>span>b, .wh1>span>b { color: #940e13; }
div.wh1 {
    display: block;
    clear: both !important;
}
div.wh1>span>b, div.wh1>span>b {
    font-size: 10px !important;
    font-family: 'Merienda One', cursive !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
div.wh1 {
    padding: 5px 10px;
    color: #940e13 !important;
    font-family: 'Merienda One', cursive !important;
}
div.wh1>span {
    padding: 3px 10px 3px;
    font-family: 'Merienda One', cursive !important;
}
/*h1.wh1 span b {
        color: #940e13;
        font-family: Oswald, Charcoal, sans-serif;
        font-size: 15px;
}*/
h1.wh1, h2.wh2, .g_content_holder .sc_content p {
    font-family: Oswald, Charcoal, sans-serif;
    /*position: relative;*/
    text-transform: uppercase;
}
h2.wh2 {
    background: #666;
    border-bottom: 1px solid #777;
    border-top: 1px solid #777;
    color: #fff;
    font-size: 110%;
    letter-spacing: 1px;
    padding: 4px 25px;/*display:block;	*/
}

.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
       height: auto;
    }
   .sly_g_slider li .gimgholder {
/*   height: 260px;  height: 580px;*/
  min-width: 250px;
}
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
@media (min-width: 992px) {
.modal-dialog {
    max-width: 756px !important;
    text-align: justify;
}
}
/*@media (max-width: 480px)*/

/*.sly_g_slider {
    overflow-x: auto;
    white-space: nowrap;
  }

  .sly_g_slider ul {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .sly_g_slider ul li {
    flex: 0 0 auto; 
    height: 260px !important;
    min-width: 220px;     
    max-width: 90%;
    margin-right: 10px;
    text-align: center;
    vertical-align: top;
    word-break: break-word;
  }*/





    .sly_g_slider li .g_head {
/*        max-height: 60px;
        overflow: hidden;
        word-break: break-all !important;*/
        font-size: 11px;
        /*display: block !important;*/
        margin-right: 9px;
    }


 
    .sly_g_content_holder>.sc_content { height: 20%; }
    .sly_g_slider li .g_head { padding: 8px 10px 8px !important; }
    .sly_g_slider ul li:first-child, .sly_g_slider li .para { display: none; }
    .visible-xs-inline-block { display: inline-block!important }
   /*   height: 260px;  height: 580px;*/ 
/*.sly_g_slider li .gimgholder {

  height: 90%;    margin: 0 auto!important;
    position: relative;max-height: 550px;
    max-width: 90% !important; 
}*/

@media (max-width: 767px) {


  .sly_g_slider ul li {
      height: 540px !important;
    min-width: 220px;  max-width: 330px;      /* Set fixed width */
  
  }
  .sly_g_slider li .gimgholder {
   height: 530px !important;
     margin: 0 auto!important;
    position: relative;
    width: auto;
}
/*  .sly_g_slider > ul > li > section{
      
      max-width: 330px; 
  }*/
}


