/*
Theme Name: Salient Child Theme
Description: custom child theme for Optic Marketing Group
Author: Optic Marketing Group
Template: salient
Version: 1.0
*/


.mobile img{display:none !important;}
.desktop img {display:block !important;}
.comment-wrap.full-width-section.custom-skip.first-section {display: none !important;}
.comments-section {display: none !important;}
body.single #single-meta ul li:first-child {display: none !important;}
.nectar-fancy-ul ul li .icon-default-style[class^="icon-"] {font-size: 32px!important;}
.nectar-icon-list-item .content {
    color: #676767 !important;
}


/*------- blogs --------*/
span.meta-category {display: none !important;}
.comment-wrap.full-width-section.custom-skip.first-section {display: none !important;}
.comments-section {display: none !important;}
body.single #single-meta ul li:first-child {display: none !important;}

/*---------- Gravity forms ----------*/
.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea{
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #000!important;
  background-color: #fff!important;
  background-clip: padding-box;
  border: none!important;
  border-radius: 1.25rem!important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.gform_wrapper .gfield_required{ color:rgba(255,255,255,0.5); }
.gform_wrapper .top_label .gfield_label{ margin-top:8px!important; }
.gform_wrapper .gform_validation_errors>h2{ letter-spacing:normal!important; }
.gform_button{ font-size:1.25rem!important; font-weight:normal!important; background-color:#234da0!important; }
.select2-container .select2-choice{ background-color:#fff!important; border:none!important; border-radius:1.25rem!important; }
body[data-fancy-form-rcs="1"] .select2-container .select2-choice:hover, body[data-fancy-form-rcs="1"] .select2-container .select2-choice:hover >.select2-chosen, body[data-fancy-form-rcs="1"] .select2-dropdown-open .select2-choice, body[data-fancy-form-rcs="1"] .select2-dropdown-open .select2-choice >.select2-chosen{ color:#000!important; background:#fff!important; }
body[data-fancy-form-rcs="1"] .select2-container:not(.select2-dropdown-open) .select2-choice:hover .select2-arrow b:after, body[data-fancy-form-rcs="1"] .select2-container--default:hover .select2-selection--single .select2-selection__arrow b, body[data-fancy-form-rcs="1"] .select2-container--open .select2-selection__arrow b{ border-top-color:#666!important; }
body[data-fancy-form-rcs="1"] .select2-dropdown-open .select2-choice .select2-arrow b:after, body[data-fancy-form-rcs="1"] .select2-container--default:hover .select2-selection--single .select2-selection__arrow b, body[data-fancy-form-rcs="1"] .select2-container--open .select2-selection--single .select2-selection__arrow b{ border-bottom-color:#666!important; }
#gform_wrapper_2{ background:transparent; padding:20px; color:#fff; }

/*-------- fixed mobile footer ---------*/

#mobile-phone-ctas {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
    -webkit-box-shadow: 0 -2px 8px 0 rgba(0,0,0,.25);
    box-shadow: 0 -2px 8px 0 rgba(0,0,0,.25);
    border-top: 1px solid rgba(0,0,0,.1);
    display: none;
}


#mobile-phone-ctas a:first-child {
    border-right-color: #FFF;
    
}
a.btn-mobile-phone{background: #003a7a !important;
    color: #fff !important;}

#mobile-phone-ctas a {
    width: 100%;
    height: 60px;
    padding: 10px 4%;
    color: #FFF;
    background-color: #003a7a;
    font-size: calc(95% + .5vw);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}
#mobile-phone-ctas a i {padding-right: 5%; font-size: 41px;}



@media only screen and (max-width: 690px){
#page-header-bg .span_6 h1 {
line-height: 1 !important;margin-bottom: 4px!important;margin-top: -27px !important;} 
.container-wrap {padding-top:0px;}

}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  
.mobile img{display:block !important;}
.desktop img {display:none !important;}
div#mobile-phone-ctas {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
    -webkit-animation: slideInUp .4s ease-in-out;
    animation: slideInUp .4s ease-in-out;
}

}



