/*
Training Area Designer CSS
Author: Andy Johnsen
Author URI: https://id23.com/
Version: 1.0
*/


/* DESIGN CANVAS */
.training-area-designer {
    margin: 40px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.tad-form-intro {
    border-bottom: 1px solid #ccc;
    margin-bottom: 40px;
}
.tad-wrapper {
    padding-left: 30px;
    padding-bottom: 40px;
}
.tad-outer {
    text-align: center;
    width: 364px;
    height: 724px;
    transition: all 0.25s;
}
.tad-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: all 0.25s;
    background-color: #fff;
    box-shadow: inset 0 0 100px 20px rgba(0,0,0,0.3);
}
.tad-inner.field-color-green,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="green"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="green"]:checked{
    background-color: green !important;
}
.tad-inner.field-color-black,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="black"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="black"]:checked{
    background-color: #222 !important;
}
.tad-inner.field-color-blue,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="blue"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="blue"]:checked {
    background-color: #1c4a8d !important;
}
.tad-inner.field-color-red,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="red"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="red"]:checked {
    background-color: firebrick !important;
}
.tad-inner.field-color-yellow,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="yellow"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="yellow"]:checked {
    background-color: #f1db3f !important;
}
.tad-inner.field-color-white,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="white"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="white"]:checked {
    background-color: #f7f7f7 !important;
}
.tad-inner.field-color-combat-turf-tan,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="combat-turf-tan"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="combat-turf-tan"]:checked {
    background-color: #d6b918 !important;
}
.tad-inner.field-color-combat-turf-slate,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="combat-turf-slate"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="combat-turf-slate"]:checked {
    background-color: #6b747f !important;
}
.tad-inner.field-color-combat-turf-orange,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="combat-turf-orange"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="combat-turf-orange"]:checked {
    background-color: #d8751e !important;
}
.tad-inner.field-color-combat-turf-red,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="combat-turf-red"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="combat-turf-red"]:checked {
    background-color: #932927 !important;
}
.tad-inner.field-color-combat-turf-green,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="combat-turf-green"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="combat-turf-green"]:checked {
    background-color: green !important;
}
.tad-inner.field-color-brown,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="brown"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="brown"]:checked {
    background-color: #2e281e !important;
}
.tad-inner.field-color-clay,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="clay"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="clay"]:checked {
    background-color: #55160c !important;
}
.tad-inner.field-color-indy-blue,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="indy-blue"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="indy-blue"]:checked {
    background-color: #16648c !important;
}
.tad-inner.field-color-maroon,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="maroon"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="maroon"]:checked {
    background-color: #3e2025 !important;
}
.tad-inner.field-color-navy,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="navy"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="navy"]:checked {
    background-color: #192633 !important;
}
.tad-inner.field-color-orange,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="orange"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="orange"]:checked {
    background-color: #912b13 !important;
}
.tad-inner.field-color-purple,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="purple"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="purple"]:checked {
    background-color: #251925 !important;
}
.tad-inner.field-color-silver,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="silver"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="silver"]:checked {
    background-color: #515550 !important;
}
.tad-inner.field-color-tan,
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[value="tan"],
.with_frm_style .tad_area_color_fields.tad-color-swatch .frm_radio input[type="tan"]:checked {
    background-color: #7f6548 !important;
}

.tad-dim-line {
   width: 100%;
   border-bottom: 1px solid #000;
   line-height: 1px;
   margin: 10px 0 20px;
   position: relative;
}
.tad-dim-line span.num,
.tad-dim-line span.units {
    background: #fff;
    padding: 0 2px;
}
.tad-dim-line span.num {
    padding: 0 7px 0 10px;
}
.tad-dim-line span.units {
    padding-right: 10px;
}
.vert-dim-line {
    transform: rotate(270deg);
    transition: all 0.25s;
    position: absolute;
    top: 300px;
    width: 600px;
    height: 0;
    left: -330px;
}
.arrow {
  border: solid #000;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 2px;
  position: absolute;
  top: -1px;
}
.arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    right: 0;
}
.arrow.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    left: 0;
}
.ui-draggable:hover{
    cursor: move;
}

/* FORM */
.tad-form-padder {
    padding-right: 20px;
}
.with_frm_style .frm_html_container.form-field {
    margin-bottom: 0;
}
.tad-span-label {
    font-weight: bold;
    padding: 0 0 3px 0;
    float: left;
    color: #444;
}
.tad-form .input-group-addon {
    border-radius: 0;
}
.tad-form .panel-group {
    margin: 0;
}
.tad-form .panel-group .panel {
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#frm_field_165_container { /* PDF file upload field */
    display: none;
}
.frm_button_submit {
    display: none;
}
/* FORM ACCORDION HEADING */
.tad-form .frm_section_heading a:hover,
.tad-form .frm_section_heading a:active,
.tad-form .frm_section_heading a:focus {
    cursor: pointer;
    text-decoration: none;
}
.tad-form .frm_section_heading .frm_icon_font.frm_arrow_icon {
    float: right;
}
.tad-form .frm_section_heading a[aria-expanded="false"] .frm_icon_font.frm_arrow_icon:before {
    content: "\e62a";
}
.tad-form .frm_section_heading a[aria-expanded="true"] .frm_icon_font.frm_arrow_icon:before {
    content: "\e62d";
}
.tad-form .repeat-section {
    margin-bottom: 24px !important;
}

/* COLOR SWATCHES */
.color-white {
    color: #fff;
}
.color-red {
    color: firebrick;
}
.color-green {
    color: green;
}
.color-black {
    color: #222;
}
.tad-color-swatch {
    max-width: 200px;
}
.tad-color-swatch .radio-inline {
    padding: 0;
    margin: 0 5px 0 0;
}
.with_frm_style .tad-color-swatch .frm_radio label {
    font-size: 0 !important;
    padding: 0;
    margin: 0;
}
.with_frm_style .tad-color-swatch .frm_radio input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    position: relative;
    background-color: #f1f1f1;
    background-size: 100px;
    color: #666;
    top: 0;
    height: 26px;
    width: 26px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    margin-right: 0;
    outline: none;
    transition: all 0.25s;
    border: 1px solid rgba(0,0,0,0.2);
}
.with_frm_style .tad-color-swatch .frm_radio input[type="radio"]:hover,
.with_frm_style .tad-color-swatch .frm_radio input[type="radio"]:checked {
    transform: scale(1.15);
}
.with_frm_style .tad-color-swatch .frm_radio input[type="radio"]:checked {
    border: 1px solid #000;
}
.with_frm_style .tad-color-swatch .frm_radio input[value="green"],
.with_frm_style .tad-color-swatch .frm_radio input[type="green"]:checked {
    background-color: green !important;
}
.with_frm_style .tad-color-swatch .frm_radio input[value="red"],
.with_frm_style .tad-color-swatch .frm_radio input[type="red"]:checked {
    background-color: firebrick !important;
}
.with_frm_style .tad-color-swatch .frm_radio input[value="black"],
.with_frm_style .tad-color-swatch .frm_radio input[type="black"]:checked{
    background-color: #222 !important;
}
.with_frm_style .tad-color-swatch .frm_radio input[value="white"],
.with_frm_style .tad-color-swatch .frm_radio input[type="white"]:checked {
    background-color: #fff !important;
}

/* HASH LINES */
.hash {
    background-image: linear-gradient(#fff 2px, transparent 2px);
    background-size: 100% 36px;
    width: 0;
    position: absolute;
    top: -2px;
    bottom: 2px;
    transition: all 0.25s;
}
.hash.left {
    left: 2px;
}
.hash.right {
    right: 2px;
}
.hash.top,
.hash.bottom {
    background-image: linear-gradient(90deg, #fff 2px, transparent 2px);
    background-size: 36px 100%;
    width: 100%;
    position: absolute;
    height: 0;
    top: 2px;
    left: -2px;
}
.hash.bottom {
    bottom: 2px;
    top: auto;
}
.hash.long {
    background-size: 100% 180px;
}
.hash.long.top,
.hash.long.bottom {
    background-size: 180px 100%;
    width: 100%;
}
.tad-extra-hash-cover {
    border: 2px solid #fff;
    position: absolute;
    z-index: 2;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    width: calc(100% + 4px);
}
.hash.color-green {
    background-image: linear-gradient(green 2px, transparent 2px);
}
.hash.color-red {
    background-image: linear-gradient(firebrick 2px, transparent 2px);
}
.hash.color-black {
    background-image: linear-gradient(#222 2px, transparent 2px);
}
.hash.color-white {
    background-image: linear-gradient(#fff 2px, transparent 2px);
}
.hash.top.color-green,
.hash.bottom.color-green {
    background-image: linear-gradient(90deg, green 2px, transparent 2px);
}
.hash.top.color-red,
.hash.bottom.color-red {
    background-image: linear-gradient(90deg, firebrick 2px, transparent 2px);
}
.hash.top.color-black,
.hash.bottom.color-black {
    background-image: linear-gradient(90deg, #222 2px, transparent 2px);
}
.hash.top.color-white,
.hash.bottom.color-white {
    background-image: linear-gradient(90deg, #fff 2px, transparent 2px);
}

/* LADDERS */
.ladder {
    background-image: linear-gradient(90deg, transparent 2px, transparent 2px);
    background-size: 20px 100%;
    border: 2px solid;
    border-color: transparent;
    border-left: none;
    width: 0;
    height: 20px;
    position: absolute;
    z-index: 4;
}
.ladder.vert {
    background-image: linear-gradient(0deg, #fff 2px, transparent 2px);
    background-size: 100% 20px;
    width: 20px;
    height: 0;
    border-left: 2px solid #fff;
    border-bottom: none;
}
/*.ladder:after {
    content: "";
    width: 2px;
    height: 100%;
    background-color: #fff;
    float: right;
}*/

/* DOTS */
.dots-wrapper {
    display: none;
}
.dots {
    position: absolute;
    z-index: 3;
    width: 36px;
    height: 24px;
}
.dots.vert {
    width: 24px;
    height: 36px;
}
.dots.color-white .dot {
    background-color: #fff;
}
.dots.color-green .dot {
    background-color: green;
}
.dots.color-red .dot {
    background-color: firebrick;
}
.dots.color-black .dot {
    background-color: #222;
}
.dot {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    width: 4px;
    height: 4px;
}
.dot.top-left {
    top: 2px;
    left: 2px;
}
.dot.top-right {
    top: 2px;
    right: 2px;
}
.dot.middle {
    top: 10px;
    left: 16px;
}
.dots.vert .dot.middle {
    top: 16px;
    left: 10px;
}
.dot.bottom-left {
    bottom: 2px;
    left: 2px;
}
.dot.bottom-right {
    bottom: 2px;
    right: 2px;
}

/* LOGO */
.tad-logo-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 99;
}
.tad-logo {
    position: absolute;
    width: 96px;
    z-index: 99;
    left: calc(50% - 45px);
    top: calc(50% - 45px);
}
.tad-logo img {
    width: 100%;
    height: auto;
}
.ui-icon-gripsmall-diagonal-se,
.ui-resizable-se {
    right: -10px;
    bottom: -10px;
    background-repeat: no-repeat;
}
.ui-rotatable-handle {
  background: url("https://cdn.jsdelivr.net/jquery.ui.rotatable/1.0.1/rotate.png");
  background-repeat: no-repeat;
  height: 25px;
  width: 25px;
  position: absolute;
}