/* Enter Your Custom CSS Here... */

.menu-toggle-caption { display: none !important; }

.text-area.show-on-desktop.near-logo-first-switch p { position: relative; top: 3px; text-align: right; }
.text-area.show-on-desktop.near-logo-first-switch p a { font-size: 10px !important; text-transform: uppercase; color: #AAA !important; text-decoration: none; }
.text-area.show-on-desktop.near-logo-first-switch p a:hover { color: #666 !important; }
.text-area.show-on-desktop.near-logo-first-switch p a:last-child { margin-left: 15px; }

.top-bar form.search { display: block; width: 100%; }

.top-bar.top-bar-hide form.search, .top-bar.top-bar-hide .text-area { display: none; }
.top-bar .text-area a { margin: 0 5px; }


.text-area.show-on-desktop.near-logo-first-switch form {
  position: relative;
  top: 4px;
  width: 506px;
  z-index: 999;
  text-align: right;
  height: 45px;
  min-width: 300px;
}

@media screen and (max-width: 400px) {
  .text-area.show-on-desktop.near-logo-first-switch form {
    width: auto;
  }
  .mobile-header-bar .mobile-mini-widgets .text-area.show-on-desktop.near-logo-first-switch { 
    max-width: 90% !important;
  }
  .mobile-header-bar .mobile-mini-widgets { display: none; }
}
@media screen and (max-width: 800px) {
  .mobile-header-bar .mobile-mini-widgets .text-area.show-on-desktop.near-logo-first-switch {
    padding-top: 10px !important;
  }
  .mobile-header-bar .mobile-mini-widgets {
    padding-bottom: 10px !important;
  }
  .text-area.show-on-desktop.near-logo-first-switch form {
    max-width: 100%; width: auto;
  }
  .mobile-header-bar .mobile-branding { min-width: 200px; }
}

@media screen and (max-width: 600px) {
  .mobile-header-bar .mobile-mini-widgets { max-width: 100%; padding-bottom: 20px; }
  .mobile-header-bar .mobile-mini-widgets .text-area.show-on-desktop.near-logo-first-switch { max-width: 100%; }
  .text-area.show-on-desktop.near-logo-first-switch form,
  .text-area.show-on-desktop.near-logo-first-switch p { max-width: 100%; }  
}


@media screen and (max-width: 600px) {
  .mobile-header-bar .mobile-branding { display: none; }
}


@media screen and (max-width: 408px) {
  .mobile-header-bar .mobile-branding { display: block; }
  .mobile-mini-widgets-in-menu .near-logo-second-switch, .masthead.widgets .show-on-second-switch, .masthead .show-on-second-switch { display: block; }
  .dt-mobile-header .soc-ico a .icon { fill: #FFF; }
}

.text-area.show-on-desktop.near-logo-first-switch form, .top-bar form.search, form.photoshelter.search { position: relative; }
.text-area.show-on-desktop.near-logo-first-switch form input.input_text, .top-bar form.search input.input_text, form.photoshelter.search input.input_text { 
  border-color: #0096BF; 
  border-color: #1BC2EA;
  margin-bottom: 0px; 
  padding: 10px 15px; 
  height: 45px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  position: relative;
  left: 2px;
  max-width: 63%;
  width: 310px;
  
  position: absolute; 
  top: 0;
  left: auto;
  right: 89px;
}
.text-area.show-on-desktop.near-logo-first-switch form input.button, .top-bar form.search input.button, form.photoshelter.search input.button { 
  padding: 10px 18px; 
  height: 45px;
  font-size: 14px !important;
  font-weight: 700;
  color: #FFF !important; 
  text-transform: uppercase; 
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  
  -webkit-border-top-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-bottomleft: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  
  position: relative;
  top: -2px;

  padding: 0 18px;
  
  
  position: absolute; 
  top: 0;
  right: 0;
}

.top-bar form.search input.button, form.photoshelter.search input.button { top: 0; }


@media screen and (min-width: 1083px) {
  .top-bar { margin-bottom: -20px !important; }
  header .soc-ico a { margin-left: 0 !important; margin-right: 0 !important; }  
  header .soc-ico { margin-left: 40px !important; }
}


@media screen and (min-width: 1360px) {
  .branding > a { position: relative; left: -51px; }
}


/*
article.dt_portfolio a.edit-link, article.attachment a.edit-link { display: none; }
*/

body.home #page > #main { padding-top: 0; padding-bottom: 0; }


body.home .dt-portfolio-shortcode article.dt_portfolio .links-container { position: static; }
body.home .dt-portfolio-shortcode article.dt_portfolio .links-container a.project-link { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; margin: 0; }

body.home .dt-portfolio-shortcode article.dt_portfolio h3.entry-title { 
  text-align: center;
  font-size: 14px;
  line-height: 1.2em;
  text-transform: uppercase;
  color: #FFF !important;
  -webkit-text-fill-color: #FFF !important;
  margin-bottom: 0; 
}

body.home .dt-portfolio-shortcode article.dt_portfolio h3.entry-title { 
  text-align: center;
  font-size: 14px;
  line-height: 1.2em;
  text-transform: uppercase;
  color: #333 !important;
  -webkit-text-fill-color: #333 !important;
  margin-bottom: 0; 
}

body.home .dt-portfolio-shortcode article.dt_portfolio a.edit-link { display: none; }


body.single #content article.post a.dt-single-mfp-popup:first-child { display: none; }


body.blog header.fancy-header { background-size: cover !important; background-attachment: initial !important; }




.widget_collapscat ul li { margin-bottom: 10px; color: rgba(119, 119, 119, 0.498039) !important; }
.widget_collapscat ul li ul li { margin-bottom: 0 !important; }
.widget_collapscat ul li ul { padding-left: 20px; }
.widget_collapscat ul li a { color: rgba(119, 119, 119, 1) !important; text-decoration: none; }

.widget_collapscat li.collapsing.categories.expandable { margin-left: -14px !important; text-indent: -14px !important; }
.widget_collapscat li.collapsing.categories.expandable span.collapsing.categories { opacity: 0.5; }
.widget_collapscat li.collapsing.categories.expandable span.collapsing.categories:hover { opacity: 1; }

#navigation li .sub-nav .sub-nav li span.menu-subtitle { display: none; }


#sidebar .widget a:hover { text-decoration: underline; color: #0096bf; }

#sidebar .instagram-pics img { max-width: 48%; height: auto; float: left; margin: 0 2% 2% 0; }
#sidebar .instagram-pics img:hover { opacity: 0.85; }




.square_box-icon .aio-icon-square_box .aio-icon, .square_box-icon .aio-icon-square_box .aio-icon-img { margin-left: 20px; }
.square_box-icon .aio-icon, .square_box-icon .aio-icon-img, .square_box-icon .aio-icon-header, .square_box-icon .aio-icon-description { text-align: left; }




img.bordered { border: solid 1px #CCC; }

.woocommerce-tabs ul.wpb_tabs_nav { border: none !important; }

.woocommerce-tabs ul.wpb_tabs_nav li.ui-state-hover.ui-state-active:hover a { background: none !important; color: #FFF !important; -webkit-text-fill-color: #FFF !important; cursor: pointer; }


ul.wpb_tabs_nav li.ui-state-active a { color: #FFF !important; -webkit-text-fill-color: #FFF !important; }



#content .wp-caption { max-width: 100%; }


h1, h2, h3, h4, h5 { word-break: normal; }
@media screen and (max-width: 380px) {
  .large-headline h2 { font-size: 30px !important; }
}




.photoshelter-gallery-widget { box-shadow: none !important; padding: 0 !important; background: none !important; }
#sidebar ul.photoshelter-gallery-widget li, .photoshelter-gallery-widget li { display: inline-block !important; margin: 0 2% 20px 0 !important; position: relative; padding-bottom: 50px !important; width: 18%; }

#sidebar ul.photoshelter-gallery-widget li:hover, .photoshelter-gallery-widget li:hover { opacity: 0.85 !important; }

#sidebar ul.photoshelter-gallery-widget li h6, .photoshelter-gallery-widget li h6 { bottom: 20px; margin-bottom: 0px !important; position: absolute; font-size: 13px; letter-spacing: -0.3px; }
.photoshelter-gallery-widget li .imagecount { position: absolute; bottom: 0; color: #999; text-align: left; }
#sidebar ul.photoshelter-gallery-widget li a img, .photoshelter-gallery-widget li a img { width: 100% !important; }


@media screen and (max-width: 730px) {
  #sidebar ul.photoshelter-gallery-widget li, .photoshelter-gallery-widget li { width: 47.5%; }
}

@media screen and (max-width: 374px) {
  #sidebar ul.photoshelter-gallery-widget li, .photoshelter-gallery-widget li { width: 98%; }
}




#content .wpb_wrapper p + h2, #content .wpb_wrapper p + h3, #content .wpb_wrapper p + h4, 
#content .wpb_wrapper blockquote + h2, #content .wpb_wrapper blockquote + h3, #content .wpb_wrapper blockquote + h4, 
#content .wpb_wrapper ul + h2, #content .wpb_wrapper ul + h3, #content .wpb_wrapper ul + h4, 
#content .wpb_wrapper ol + h2, #content .wpb_wrapper ol + h3, #content .wpb_wrapper ol + h4, 
#content .wpb_wrapper div + h2, #content .wpb_wrapper div + h3, #content .wpb_wrapper div + h4{ margin-top: 30px; }

/*
#content .wpb_wrapper table td { border-top: 1px solid #000; }
#content .wpb_wrapper table { border-bottom: 1px solid #000; }
*/


form.woocommerce-ordering, p.woocommerce-result-count { display: none; }
.term-description { margin-bottom: 30px; }
article.product .project-list-media .rollover-content { display: none; }
article.product .project-list-media:hover img { opacity: 0.9; }



#phantom .main-nav li a, #phantom .main-nav > li > a .menu-text { font-size: 15px !important; }

#product-41176 > .images { display: none; }
.payyourprice_message { margin-top: 10px; margin-bottom: 20px; }
#product-41176 div.summary { width: auto; }
#product-41176 div.summary table.variations { width: 50%; }




.vc_message_box h1, .vc_message_box h2, .vc_message_box h3, .vc_message_box h4 { margin-top: 0; }


#content .ult-modal-input-wrapper:hover img { opacity: 0.8 !important; }
#content .ult-modal-input-wrapper:hover { background-color: #0096bf !important; }


header#fancy-header h1.fancy-title { font-weight: bold; }

.grid-element-title-link { font-size: 14px; line-height: 18px; display: inline-block; vertical-align: top; }

div.vc_gitem-zone:hover { opacity: 0.85 !important; }

.grid-element-container { padding-left: 2px !important; padding-right: 2px !important; }


#sidebar .widget_presscore-custom-menu-1 .custom-menu li { padding-top: 0; border-top: none; }









#photoshelter-sidebar {
    position: absolute;
    top: 240px;
    left: 0;
    margin-top: 0px;
    /*background: #404040 url(images/sidebar_bottom.png) 0 100% repeat-x;*/
    background: #F9F9F9;
    min-height: 280px;
    min-width: 45px; 
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    max-width: none;
    z-index: 90;
}

/*
#photoshelter-sidebar.closed {
    position: fixed;
    background: #F9F9F9;
}
*/

#main, #fancy-header { position: relative; }

#photoshelter-sidebar ul li {
    text-align: left;
    list-style-type: circle;
    line-height: 19px;
}

#photoshelter-sidebar ul li a {
    font-size: 14px;
    text-decoration: none;
}

#photoshelter-sidebar .gallery_collection_toc_name {
    text-align: left;  
    margin-left: 11px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 6px;
}

#photoshelter-sidebar ul.gallery_collection_toc {
    margin: 0 0 30px 0;
    padding: 0 0 0 40px;
}

#photoshelter-sidebar a:hover {
    color: #1bc3eb;
    text-decoration: none;
}

#photoshelter-sidebar a, #photoshelter-sidebar a:visited {
    color: #0096bf;
}


#photoshelter-sidebar.closed .gallery_collection_toc {
    display: none;
}

#photoshelter-sidebar .gallery_collection_toc {
    display: block;
}

#photoshelter-sidebar a.sidebar_expand_button {
    display: block;  
    background: url(//www.alaskaphotographics.com/wp-content/uploads/2017/02/close_button.png) 100% 0 no-repeat;
    background-position: left center;
    width: 150px;
    height: 22px;
    text-indent: 100%;
    overflow: hidden;
    font-size: 0;
    position: absolute;
    top: 15px;
    left: 13px;
    padding-left: 10px;
    z-index: 99;
}

#photoshelter-sidebar a.sidebar_expand_button:hover {
    opacity: 0.8;
}

#photoshelter-sidebar.closed a.sidebar_expand_button {
    background: url(//www.alaskaphotographics.com/wp-content/uploads/2017/02/expand_button.png) 0 0 no-repeat;
    width: 18px;
    height: 252px;
    left: 13px;
    padding-left: 0;
}


#photoshelter-sidebar {
    padding-top: 60px;
    padding-right: 10px;
    width: 235px;
    height: auto;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

#photoshelter-sidebar.closed {
    padding-top: 0px;
    padding-right: 0;
    width: 45px;
    height: 280px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}


/*
#photoshelter-sidebar {
     -webkit-transition: width 0.2s ease-in-out;
     -moz-transition: width 0.2s ease-in-out;
     -o-transition: width 0.2s ease-in-out;
     -ms-transition: width 0.2s ease-in-out;    
     transition: width 0.2s ease-in-out;
    
     -webkit-transition-delay: 0;
     -moz-transition-delay: 0;
     -o-transition-delay: 0;
     -ms-transition-delay: 0;
     transition-delay: 0; 
}

#photoshelter-sidebar.closed {      
     -webkit-transition: width 0.2s ease-in-out;
     -moz-transition: width 0.2s ease-in-out;
     -o-transition: width 0.2s ease-in-out;
     -ms-transition: width 0.2s ease-in-out;    
     transition: width 0.2s ease-in-out;
    
       -webkit-transition-delay: 0;
     -moz-transition-delay: 0;
     -o-transition-delay: 0;
     -ms-transition-delay: 0;
     transition-delay: 0; 
}
*/


@media screen and (max-width: 1320px) {
  #photoshelter-sidebar { display: block !important; }
  /* #page #main .wf-wrap { padding-left: 70px; } */
}

@media screen and (max-width: 500px) {
  #photoshelter-sidebar { display: none !important; }
  /* #page #main .wf-wrap { padding-left: 44px; } */
}






.woocommerce-checkout table.shop_table .blockUI.blockOverlay { background-image: url("/wp-content/uploads/2015/09/ajax-loader.gif") !important; background-position: center center !important; background-repeat: no-repeat !important; }


.products.related ul.products article { display: inline-block; float: left; margin-right: 10px; }





body.single #disqus_thread { margin-top: 50px; margin-bottom: 30px; }


body.single-product #footer { clear: both; }


a.scroll-top { background: #DDDDDD; }





@media screen and (max-width: 600px) {
body.home article.dt_portfolio_category-featured-categories .buttons-on-img { margin-bottom: 10px; }

body.home article.dt_portfolio_category-featured-categories { margin-bottom: 10px; }

body.home article.dt_portfolio_category-featured-categories .project-list-content h3.entry-title { font-size: 11px; }
}


.page-title h1, .page-title h1 *, .page-title h1 a:hover, #page .page-title .entry-title { color: #0096bf; }





body.woocommerce #main article.type-product .project-list-content a { text-decoration: none !important; }
body.woocommerce #main article.type-product .project-list-content a h3 { font-size: 18px; line-height: 1.5em; text-decoration: none; }


.last_toggle_el_margin, .wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li { margin-bottom: 0 !important; }
input[type=password], input[type=text], input[type=tel], input[type=url], input[type=email], input[type=number], input[type=date], input[type=range], select, textarea { margin-bottom: 10px; }

.top-header .main-nav .menu-text:after { right: -2px; opacity: 0.3; }


/*
body.home article.dt_portfolio figcaption.rollover-content { pointer-events: none; }
body.home article.dt_portfolio a.rollover-buttons-on i { display: none !important; }
*/

body.home article.dt_portfolio figcaption .links-container { display: block; width: 100%; height: 100%; left: 0; top: 0 !important; }

.main-nav .sub-nav > li > a .subtitle-text { display: none; }



.navigation ul#primary-menu > li:last-child { position: absolute; right: 0; top: 0; }
.navigation ul#primary-menu > li:last-child a .menu-text { font-size: 14px; color: #999; }
.navigation ul#primary-menu > li:last-child a .fa { font-size: 12px; color: #999; }

@media screen and (min-width: 501px) {
	#page #main { padding-left: 50px; padding-right: 50px; }
}


#content #ps_captionIns img { max-width: 100%; height: auto; }



.mapplic-element { height: 650px !important; }


body.home .dt-portfolio-shortcode .wf-cell article figure { margin-bottom: 10px; }
body.home .dt-portfolio-shortcode .wf-cell article h3 { margin-bottom: 20px !important; }


.project-list-media figure.buttons-on-img figcaption.rollover-content .links-container { 
    width: 100%;
    height: 100%;
    left: 0;
    top: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}



.mobile-mini-widgets-in-menu .text-area { margin: 5px 0 !important; max-width: 100% !important; width: 100%; position: relative; top: -20px; }
.mobile-mini-widgets-in-menu .text-area form { max-width: 100% !important; text-align: left !important; width: 100%; height: 45px; top: -4px !important; min-width: 0 !important; }
.mobile-mini-widgets-in-menu .text-area p { max-width: 100% !important; }


body.single #content div.post-thumbnail { display: none !important; }

@media screen and (max-width: 408px) {
.show-on-second-switch.text-area, .show-on-second-switch.in-top-bar { 
	display: block !important;
}
	.text-area.show-on-desktop.near-logo-first-switch form {
		
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    position: relative;
	}
	
	.text-area.show-on-desktop.near-logo-first-switch form input.input_text {
		
    left: 0;
    max-width: 68% !important;
	}
}








@media screen and (max-width: 1299px) {
	body.home .full-width-wrap { width: 100% !important; margin-left: 0 !important; }
}




.woocommerce article.product .woocom-project form.cart .quantity input[type="number"].qty {   
    width: 35px;
    float: left;
    padding: 0px 0 0 6px;
    box-sizing: content-box;
    text-align: center;
    margin-bottom: 0;
}