/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
@font-face {
    font-family: 'ITCAvantGardeStd_BoldObl';
    src: url('fonts/ITCAvantGardeStd_BoldObl.eot');
    src: url('fonts/ITCAvantGardeStd_BoldObl.eot') format('embedded-opentype'),
         url('fonts/ITCAvantGardeStd_BoldObl.woff2') format('woff2'),
         url('fonts/ITCAvantGardeStd_BoldObl.woff') format('woff'),
         url('fonts/ITCAvantGardeStd_BoldObl.ttf') format('truetype'),
         url('fonts/ITCAvantGardeStd_BoldObl.svg#ITCAvantGardeStd_BoldObl') format('svg');
  font-style: italic;
}
@font-face {
    font-family: 'ITCAvantGardeStd_BkObl';
    src: url('fonts/ITCAvantGardeStd_BkObl.eot');
    src: url('fonts/ITCAvantGardeStd_BkObl.eot') format('embedded-opentype'),
         url('fonts/ITCAvantGardeStd_BkObl.woff2') format('woff2'),
         url('fonts/ITCAvantGardeStd_BkObl.woff') format('woff'),
         url('fonts/ITCAvantGardeStd_BkObl.ttf') format('truetype'),
         url('fonts/ITCAvantGardeStd_BkObl.svg#ITCAvantGardeStd_BkObl') format('svg');
}

.nbscontent h1, .nbscontent h2, .nbscontent h3, .nbscontent h4, .nbscontent h5, .nbscontent h6 { margin-top: 20px!important; margin-bottom: 20px; line-height: 1.1em!important;}
/*------------------gallery 2 / 3 / 4 Colums------------*/
.itc-avant h3 { font-family: 'ITCAvantGardeStd_BoldObl'!important;}
.itc-avant h5 { font-family: 'ITCAvantGardeStd_BkObl'!important;}
.gallery-2 .et_pb_gallery_grid .gutter_width { width: 10px; }
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_item { margin-bottom:10px !important; }
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_item { clear:none !important; }
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_item { width: 48% !important; margin-right:2% !important; }
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(2n) { margin-right:0 !important; }
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(2n+1) { clear:both !important; }
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_image img { min-height: 0 !important; }

.gallery-3 .et_pb_gallery_grid .gutter_width { width: 10px; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item { margin-bottom:10px !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item { clear:none !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item { width: 31% !important; margin-right:2% !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(3n) { margin-right:0 !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(3n+1) { clear:both !important; }
.gallery-3 .et_pb_gallery_grid .et_pb_gallery_image img { min-height: 0 !important; }

.gallery-4 .et_pb_gallery_grid .gutter_width { width: 10px; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item { margin-bottom:10px !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item { clear:none !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item { width: 24% !important; margin-right:1% !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(4n) { margin-right:0 !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_item:nth-child(4n+1) { clear:both !important; }
.gallery-4 .et_pb_gallery_grid .et_pb_gallery_image img { min-height: 0 !important; }
/*------------------gallery 2 / 3 / 4 Colums end------------*/

input:focus, textarea:focus { box-shadow: 0 0 8px rgba(0, 0, 0, 0.1)!important;}
/*-------------------------------Mobile--------------------------*/

@media screen and (min-width:981px) and (max-width:1199px){
}
@media screen and (min-width:768px) and (max-width:980px){
}
@media screen and (min-width:568px) and (max-width: 767px){ 
}	
@media screen and (min-width:320px) and (max-width: 567px){ 
}
@media screen and (min-width:320px) and (max-width: 767px){ 
.gallery-2 .et_pb_gallery_grid .et_pb_gallery_item, .gallery-3 .et_pb_gallery_grid .et_pb_gallery_item, .gallery-4 .et_pb_gallery_grid .et_pb_gallery_item { width: 100% !important; margin-right:0 !important; }
#gform_wrapper_1.gform_wrapper { padding-left: 0;}
}
/*-------------------------------Mobile end-------------------------*/