/*Only for sinlge video pages*/
body.node-type-videos article {
    width:  100%;
}
body.node-type-videos article .field--name-field-video-url .dacast, body.node-type-videos article .field--name-field-iframe-url {
	width: 100%;
	height: 100%;
}
/*This covers the video slideshow*/
body.page-videos .dexp-body-inner {
    background: #fbfbfb !important;
}
body.page-videos .dexp-body-inner .container {
    width: 100%;
    padding: 0;
    margin: 0;
}
body.page-videos .dexp-body-inner .container #block-block-6 {
    overflow:  hidden;
    background: #ffffff;
    padding: 0 30px;
}
body.page-videos .dexp-body-inner .container #block-system-main {
    padding:  0 30px;
}
form.confirmation {
	clear: both;
}
form a#edit-cancel.btn-danger {
	color: #ffffff !important;
	margin-left: 20px;
}
form a#edit-cancel.btn-danger:hover {
	color: #ffffff !important;
}
.views-slideshow-controls-bottom, .views-slideshow-controls-top {
    display: inline-block;
    font-weight: 400 !important;
    font-size: 1em !important;
}
.views-slideshow-controls-bottom a, .views-slideshow-controls-top a {
    display: block;
}
.slideshow-box .views-slideshow-controls-bottom {
    text-align: right;
    float: right;
}
.views_slideshow_cycle_main {
    width: 100%;
    clear: none;
    overflow: hidden;
    display: inline-block;
}
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame .views-field-field-iframe-url, body.node-type-videos article .field--name-field-iframe-url .field-items {
	width: 100% !important;
	padding-bottom: 56.25%;
	position: relative;
}
.page-workshops-education-watch-online-workshop-or-tutorial-plan-and-pay .views_slideshow_cycle_main .views-slideshow-cycle-main-frame {
	padding-bottom: 41.25%;
}
.page-workshops-education-watch-online-workshop-or-tutorial-do-i-owe-use-tax  .views_slideshow_cycle_main .views-slideshow-cycle-main-frame {
	padding-bottom: 0;
}
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame .views-field.views-field-field-iframe-url .field-content iframe, body.node-type-videos article .field--name-field-iframe-url iframe {
	position: absolute;
	width: 100%;
	height: 100%;
}
.slideshow-box, .slideshow-title-box {
    display: block;
    clear: both;    
    overflow: hidden;
}
.slideshow-title-box .views-slideshow-pager-field-item {
    display: inline-block;
    clear: none;
	vertical-align: top;
    width: 30%;
    margin: 0 1% 5px 1%;
	padding: 5px 10px;
}
.views-slideshow-pager-fields div {
    display: inline-block;
}
.slideshow-controls-inner {
    width: 100%;
    display: inline-block;
}
.views-slideshow-cycle-main-frame-row {
	width: 100% !important;
}
.views-slideshow-cycle-main-frame-row-item .dacast {
	width: 100%;
	height: 100%;
}
.views-slideshow-pager-fields .active a {
    text-decoration: underline;
}
.slideshow-title-box .views-slideshow-pager-field-item.active, .slideshow-title-box .views-slideshow-pager-field-item:hover {
    background: #5F8CB4;
    transition: all 300ms;
}
.slideshow-title-box .views-slideshow-pager-field-item.active a, .slideshow-title-box .views-slideshow-pager-field-item:hover a {
    color: #ffffff;
    transition: all 300ms;
}
.slideshow-title-box {
    margin-top: 30px;
}
.view-videos h3 {
    margin: 0 0 20px 0;
    padding: 0;
}
.view-videos .attachment {
	margin: 20px;
    overflow: hidden;
}
.views_slideshow_cycle_no_display, .views_slideshow_cycle_hidden, .views_slideshow_cycle_controls, .views-slideshow-controls-bottom, .views-slideshow-controls-top, .views_slideshow_cycle_image_count {
	display: block !important;
}
@media screen and (max-width: 992px) {
	.slideshow-controls-inner {
	  width: 100%;
	  display: block;
	  padding: 0 20px;
	}
	.views_slideshow_cycle_main {
	  width: 100% !important;
	  float: left !important;
	}
	.views_slideshow_cycle_main .views-slideshow-cycle-main-frame {
	  width: 100% !important;
	}
	.views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row {
	  width: 100% !important;
	  height: auto !important;
	}
	.views_slideshow_cycle_main .field-content {
	  max-width: 100% !important;
	  width: 100% !important;
	}
	.views_slideshow_cycle_main .views-slideshow-cycle-main-frame .views-field-field-iframe-url {
		padding-bottom: 56.25%;
	}
	.views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row video, .views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row iframe {
	  max-width: 100% !important;
	  margin: 0 !important;
	  padding: 0 !important;
	}
}
@media screen and (max-width: 600px) {
  .slideshow-title-box .views-slideshow-pager-field-item {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    display: block;
  }
}

/* added for book table of contents */
body.node-type-book .l-main-content nav.block--menu-block ul {
	column-count: 2;
	column-gap: 0;
	width: auto;
}

body.node-type-book .l-main-content nav.block--menu-block ul li.expanded {
	display: inline-block;
	width: auto;
	float: none;
}

body.node-type-book .l-main-content nav.block--menu-block ul li.expanded ul {
	column-count: auto;
	column-gap: auto;
	width: auto;
}
body.node-type-book .l-main-content nav.block--menu-block ul li.expanded ul li{
	clear:both !important;
	float: none !important;
}
@media screen and (max-width: 600px) {
	body.node-type-book .l-main-content nav.block--menu-block ul {
		column-count: initial;
		column-gap: initial;
		width: 100%;
	}
}

/*Added for Calendar Styles*/
div.date-nav ul.pager {
    clear:  both;
    overflow: hidden;
    margin: -40px auto 0 auto;
}
.view .date-nav-wrapper .date-prev, .view .date-nav-wrapper .date-next {
    position: relative;
    left: 0;
    right: 0;
    background: none;
    border-radius: 0;
}
.view .date-nav-wrapper .date-prev a, .view .date-nav-wrapper .date-next a {
        color: #ffffff;
        background:  #164a7c;
        border-radius: 4px;
}
.view .date-nav-wrapper .date-prev a:hover, .view .date-nav-wrapper .date-prev a:focus, .view .date-nav-wrapper .date-next a:hover, .view .date-nav-wrapper .date-next a:focus {
    background: #767c82;
}
.view .date-nav-wrapper .date-prev {
    float: left;
}
.view .date-nav-wrapper .date-next {
    float: right;
}
.ui-dialog {
    max-width: 50% !important;
    left: 25% !important;
    right: 25% !important;
    -webkit-box-shadow: 0px 6px 15px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 6px 15px 1px rgba(0,0,0,0.75);
    box-shadow: 0px 6px 15px 1px rgba(0,0,0,0.75);
}
.ui-dialog .ui-widget-header {
    border: none;
    background: none;
}
.ui-dialog .ui-widget-header span.ui-dialog-title {
    display: none;
}
.ui-dialog button.ui-dialog-titlebar-close {
    color: #ffffff;
    background: transparent;
    line-height: initial;
    position: relative !important;
    margin: 0;
    right: 0 !important;
    top: 0 !important;
    float: right;
    overflow: hidden;
    border: none;
}

.ui-dialog button.ui-dialog-titlebar-close i.fa.fa-window-close-o {
    font-size: 1.2em;
    color: #000000;
}
.ui-dialog-titlebar {
    overflow: hidden;
    padding: 0;
    height: 20px;
	width: 50px;
	float: right;
	padding: 0 !important;
}
#event-popup-container h1.node__title {
	margin-top: 0;
	padding-top: 0;
}
#event-popup-container .field {
	margin: 20px 0 10px 0;
}
#event-popup-container .field--name-field-location-reference header {
	display: none;
}
#event-popup-container .field--name-field-event-location {
	margin: 0;
}
.field--name-field-register-for-event .field__item a {
	display: inline-block;
	color: #0071BC;
}
.field--name-field-register-for-event .field__item a:visited {
	color: #AA06FF;
}
.field--name-field-register-for-event .field__item a:hover, .field--name-field-register-for-event .field__item a:focus {
	color: #FA9800;
}
.views-field-field-wtd-publish-date-1 {
    margin-left: 10px;
}
.view .view-content {
	margin: 0 20px;
}
.section-contact-us .right-section table tr {
    background: #fff;
    border: 0;
}
.section-contact-us .right-section table tr td {
    background: #fff;
    border: 0;
}
.section-contact-us .right-section {
    margin-left: 8%;
}
.view-washington-tax-decisions-wtds- table caption {
    font-size: 1.2em;
    text-align: left;
}
.view-washington-tax-decisions-wtds- table.views-table.footable td:nth-child(1) {
	width: auto;
}
.block--views-50373f70536ba4e505a5f0ac26b55e97 {
    float: right;
    clear: left;
}
.view-id-washington_tax_decisions_wtds_ {
	display: inline-block;
	width: 85%;
}
.block--menu-menu-wa-tax-study {
	width: 25%;
	display: inline-block;
}
#block-block-16 .fa.fa-envelope a {
	font-family: "Droid Sans", Helvetica, Arial, sans-serif;
	font-size: .8em;
}
.node-type-local-offices .node__content {
    position: relative;
}
.node-type-local-offices .node__content .field {
       max-width: 45%;
}
.l-main-content .block--views-local-offices-block-1 {
		width: 100%;
		clear: both;
}
.node-type-local-offices .node__content .field--name-field-location-and-map .field__items .gmap-control {
    float: right !important;
    width: 50% !important;
    height: 250px !important;
    clear: none;
    position: absolute !important;
    right: 0;
    top: 0;
    bottom: 0;
}
.node-type-local-offices .node__content .field.field--name-field-directions-info {
    max-width: 100% !important;
}
#block-views-tax-topics-block .views-exposed-widget.views-submit-button, .views-exposed-widget.views-reset-button {
    margin-top: 1em;
}
@media (max-width: 767px) {
	.view-videos {
		margin-top: 20px;
		clear: both;
		display: inline-block;
	}
    ul.pager {
        margin: -0 auto 0 auto;
    }
    .ui-dialog {
        width: 90% !important;
        max-width: 90% !important;
        left: 5% !important;
        right: 5% !important;
    }
}
@media (max-width: 991px) {
	.l-main-content .block {
		margin: 0 20px;
		width: 100%;
	}
	.l-region--content-main {
		padding: 0 20px;
	}
	.webform-client-form input {
		width: 100%;
	}
	.webform-client-form .webform-component--clear {
		margin-left: 0;
	}
	.block--views-50373f70536ba4e505a5f0ac26b55e97 {
		float: none;
		clear: both;
	}
	.view-id-washington_tax_decisions_wtds_.view-display-id-page_2 {
		display: block;
	}
	.node-type-local-offices .node__content .field {
		width: 100%;
		max-width: 100% !important;
	}
	
	.node-type-local-offices .node__content .field--name-field-location-and-map .field__items {
		width: 100%;
	}
	.l-main-content .block--views-local-offices-block-1 {
		margin: 0;
	}
	.node-type-local-offices .node__content .field--name-field-location-and-map .field__items .gmap-control {
		width: 100% !important;
		height: 250px !important;
		clear: both;
		position: relative !important;
		right: initial;
		top: initial;
		bottom: initial;
		margin-top:.5em;
	}
	div#block-block-1033 {
		margin:0;
	}
}